Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-4944 Multi-Tenant Support in Ozone
  3. HDDS-6670

[MultiTenancy] Assign admin should not default to delegated admin

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Ozone Tenant User API for Assign admin has delegated admin defaulted to True.

       

      This is making all the new admins as delegated admins with the privilege to assign more admins.

      I probably believe delegated admin privilege should not have defaulted.

      Also, there is no option currently to create a non-delegated admin.

      Whether we pass -d or not its always delegated

      bash-4.2$ ozone tenant user assign-admin -t tenantone 'tenantone$hrt_qa' -d
      Assigned admin to 'tenantone$hrt_qa' in tenant 'tenantone' 

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            smeng Siyao Meng
            ssulav Soumitra Sulav
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment