Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-9313

updateApp should call deploy with existing owner principal

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.1.0, 4.0.0
    • Fix Version/s: 4.1.1
    • Component/s: Security
    • Labels:
      None
    • Rank:
      1|hzzzh3:

      Description

      The updateApp in ApplicationLifecycleService checks that the owner provided in the AppRequest is same as the one which is stored for existing application. Although when we call redeploy we call an overloaded deployApp method to which we don't pass ownerPrincipal. We should be calling deploy with existing ownerPrincipal.

        Attachments

          Activity

            People

            • Assignee:
              shankar Shankar Selvam
              Reporter:
              rsinha Rohit Sinha
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: