Skip to content

allEffectiveRbacPermissions

Permissions assigned to the role that are in effect.

Arguments

Argument Type Description
roleId (required) String! ID of the role.

Returns

[RbacPermission!]!

Sample

query AllEffectiveRbacPermissions($roleId: String!) {
  allEffectiveRbacPermissions(roleId: $roleId) {
    operations
  }
}
{
  "roleId": "example-string"
}
{
  "data": {
    "allEffectiveRbacPermissions": [
      {
        "operations": [
          "ACCESS_CDM_CLUSTER"
        ],
        "rbacObject": {
          "clusterId": "example-string",
          "objectId": "example-string",
          "workloadHierarchy": "AWS_NATIVE_CONFIG"
        }
      }
    ]
  }
}