Getting RBAC permissions for user and item with groups path#243
Getting RBAC permissions for user and item with groups path#243duemir merged 3 commits intocloudbees:masterfrom
Conversation
|
Doesn't Roles page kind of answers the same question? The roles are defined in a single place, but every item has Roles and "Roles / Who Am I?" pages. Regarding script itself. I think we should start all the script with a comment that explains the purpose of the script. It doesn't seem to be the rule but lots of scripts do it. |
|
Hey @duemir, you are right. This "Roles / Who Am I?" makes some similar. However, I'm not sure if the list of permissions inherited from different levels is shown as we can do it here. Furthermore, the fact that we cannot impersonate, it could be a problem for some cases (where the administrator is asking for help). I do believe this script could fill this little gap. Kind regards, |
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: