-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
apache/cloudstack-documentation
#403Milestone
Description
ISSUE TYPE
- Bug Report
COMPONENT NAME
UI,API
CLOUDSTACK VERSION
4.19.0.0
SUMMARY
Project roles by design could only further restrict the access of users based on the RBAC. However, in the UI there is an option to 'Allow' more APIs however it doesn't take effect. This needs to be reviewed to either allow more access in project roles ( there are some use cases for it) otherwise remove the option to 'Allow' which does not work.
STEPS TO REPRODUCE
1. Create an account and user with 'user role'.
2. Create a new project and create a project role.
3. In the project role add a rule that allows an API that is restricted for the user role.
4. Add the above user to the project assigning the above project role.
5. Verify whether the user has any elevated privileges to run the Allowed API.
https://www.shapeblue.com/cloudstack-feature-deep-dive-role-based-users-in-projects/
