osc identity project user role show
Check grant for project, user, role.
GET/HEAD /v3/projects/{project_id/users/{user_id}/roles/{role_id}
Usage: osc identity project user role show <--project-name <PROJECT_NAME>|--project-id <PROJECT_ID>|--current-project> <--user-name <USER_NAME>|--user-id <USER_ID>|--current-user> <ID>
Arguments:
<ID>
— role_id parameter for /v3/projects/{project_id}/users/{user_id}/roles/{role_id} API
Options:
--project-name <PROJECT_NAME>
— Project Name--project-id <PROJECT_ID>
— Project ID--current-project
— Current project--user-name <USER_NAME>
— User Name--user-id <USER_ID>
— User ID--current-user
— Current authenticated user