You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Within the Administrator section under Buckets, even if the policy deny admin:* action on all resources, the create bucket button and create bucket form are always enabled / visible.
Expected Behavior
The create button should be disabled with a tooltip message.
If user tries to force going to /buckets/add-bucket route, an error message should be displayed
Current Behavior
The create button should be disabled with a tooltip message.
If user tries to force going to /buckets/add-bucket route, an error message should be displayed
Possible Solution
Maybe reviewing the following piece of code to implement relevant validations:
vherrlein
changed the title
UI - Create bucket button and create bucket form always enabled
UI - Create/Delete bucket button and create bucket form always enabled
Aug 3, 2024
Within the Administrator section under Buckets, even if the policy deny
admin:*
action on all resources, the create bucket button and create bucket form are always enabled / visible.Expected Behavior
/buckets/add-bucket
route, an error message should be displayedCurrent Behavior
/buckets/add-bucket
route, an error message should be displayedPossible Solution
Maybe reviewing the following piece of code to implement relevant validations:
console/web-app/src/screens/Console/kbar-actions.tsx
Line 55 in adfc960
Steps to Reproduce (for bugs)
consoleAdmin
policyMyTest
MyUser
MyTestPolicy
to the userMyTest
MyTest
Context
Regression
Your Environment
minio --version
): 2024-07-31T05:46:26Zuname -a
): N/AThe text was updated successfully, but these errors were encountered: