Skip to content

Getting RBAC permissions for user and item with groups path #243

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ironcerocloudbees
Copy link

We developed a Groovy script to extract the Permissions and the roles for a specific user (username, line 10) and an item (like a folder, line 11), including in the report the Role and the group from which we granted the permission.

For example:

Gathering RBAC roles for user 'user1' in item 'folder1' and all inherited scopes...

RBAC Role & Permission Summary for 'user1' (including inherited scopes):

🔹 Role: administrator
   • From Group: folder1group2
   • Group Path: folder1group2 → folder1group1
   • Context: folder1
   • Permissions:
       - Alerts / Mute
       - Alerts / View
       - ...

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

Successfully merging this pull request may close these issues.

1 participant