-
Notifications
You must be signed in to change notification settings - Fork 92
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
User Managment: role:list gets Account Manager Roles #61
Comments
This is an Enhancement request. |
Hi @pfrickcol , thanks much for raising!
This should not be a large effort, as we can pull the roles available for assignment based on the current user.
This is an interesting one as well. Lets please track this as separate ticket! Scopes for roles denote Commerce Cloud instances, either via an exact match, e.g. What would be the expected output of this? Would it be a list of scopes based on the instances the current user can manage? One proposal I can think of is to have an API change and to have command
|
@tobiaslohr glad to here the first one is a fairly easy thing to do. As for the scope I was thinking you have something like |
@pfrickcol I've pushed a change into the branch to allow returning all roles by calling |
Looks to be working to me. It is defaulting to outputting the id, description, roleEnumName. |
Right, options like In order to get a list of role IDs only you may want to use a tool like |
We are currently using the latest version of the user management branch. A very helpful enhancement that could be made the matches some of the other commands is to add
sfcc-ci role:list
defaults to displaying the available roles in Account Manager if no --instance is passed in. This would allow us to query what roles are available and utilize that output. Would also be really helpful if you added either a scope:list or something along that line that would allow us to query all the currently available scopes to an organization.The text was updated successfully, but these errors were encountered: