osc identity project group role set

Assigns a role to a group on a project.

Relationship: https://docs.openstack.org/api/openstack-identity/3/rel/project_group_role

Usage: osc identity project group role set <--project-name <PROJECT_NAME>|--project-id <PROJECT_ID>|--current-project> <GROUP_ID> <ID>

Arguments:

  • <GROUP_ID> — group_id parameter for /v3/projects/{project_id}/groups/{group_id}/roles API
  • <ID> — role_id parameter for /v3/projects/{project_id}/groups/{group_id}/roles/{role_id} API

Options:

  • --project-name <PROJECT_NAME> — Project Name
  • --project-id <PROJECT_ID> — Project ID
  • --current-project — Current project