Skip to content

Project role Allow rules doesn't have any effect #9071

@rajujith

Description

@rajujith
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/

Screenshot 2024-05-10 at 11 00 08 AM

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions