Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Rules in custom roles allows any value #10062

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rajujith opened this issue Dec 9, 2024 · 3 comments
Closed

Rules in custom roles allows any value #10062

rajujith opened this issue Dec 9, 2024 · 3 comments

Comments

@rajujith
Copy link

rajujith commented Dec 9, 2024

ISSUE TYPE
  • Improvement Request
COMPONENT NAME
UI,API,roles
CLOUDSTACK VERSION
4.19.1
SUMMARY

Custom roles in general and in the projects allow entering any random value in the rules. To avoid user/admin errors it could be checked to allow only valid APIs.

Screenshot 2024-12-09 at 12 36 29 PM

@vishesh92
Copy link
Member

IMO, this isn't a bug and this is expected. This is to allow the user to add wild cards like list* as a rule.

Ref: https://cloudstack.apache.org/api/apidocs-4.20/apis/createRolePermission.html

@vishesh92 vishesh92 moved this from Todo to Discuss in Apache CloudStack BugFest - Issues Apr 16, 2025
@vishesh92 vishesh92 moved this from Discuss to on Hold in Apache CloudStack BugFest - Issues Apr 16, 2025
@rajujith
Copy link
Author

Got it @vishesh92

@DaanHoogland
Copy link
Contributor

@rajujith , can we close this , given @vishesh92‘s explanation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants