dcloud iam users who-canList the principals allowed to perform an action on a resource today
IAM iam:ListUsersRead
The same evaluation the routes perform, over every active principal of the organization.
Synopsis
dcloud iam users who-can --action action --resource resourceFlags
--actionRequiredstring
One action, e.g. git:PushRepository
--resourceRequiredstring
The RN of a resource of this organization, or * for every resource
Example
dcloud iam users who-can --action example --resource exampleGenerated from the API description, the same one the API checks requests against and the CLI is built from.