Details
-
Sub-task
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
None
-
None
-
None
Description
As far as I see any user can finalize upgrade (and I assume the same is true for preparation).
bash-4.2$ kinit -kt /etc/security/keytabs/testuser.keytab testuser/scm bash-4.2$ ozone sh volume create /vol1 PERMISSION_DENIED User testuser/scm@EXAMPLE.COM doesn't have CREATE permission to access volume vol1 null null
Failed as I am not an admin, but:
bash-4.2$ ozone admin scm finalizeupgrade Upgrade has already been finalized. Exiting... bash-4.2$
Please confirm, but I think a quick isAdmin check is missing from all the related RPC endpoints.
Attachments
Issue Links
- links to