Replies: 2 comments
-
I'd add that listing the sec roles per BU would be important so that we can distinguish roles between BUs. The output should definitely be in JSON. |
Beta Was this translation helpful? Give feedback.
-
The absence of such a command encourage (lazy) users to leave the --role parameter (which is optional) and results in assigning the System Administrator role. Temporary workaround: |
Beta Was this translation helpful? Give feedback.
-
In the
pac admin assign-group
andpac admin assign-user
commands, there is a parameter called--role
which you can use to add a security role name or ID that will assign the role to that user or group.Example command(s)
It would be nice to have a command to list all security roles in an environment:
pac admin list-roles --json
- list the security roles in the current environment and output the result in JSON format.pac admin list-roles --environment [guid]
- list the security roles in the provided environment.pac admin list-roles --filter [string]
- list the security roles in the current environment filtered by the string filter.This could be really useful.
Beta Was this translation helpful? Give feedback.
All reactions