Permissions define the actions that users can perform on specific resources within the NVIDIA Run:ai platform. Each permission consists of a resource type and an allowed action. The Permission Sets API provides a catalog of all available permission sets in the NVIDIA Run:ai platform. Each permission set is a predefined collection of permissions that represent the permissions required for a role to perform specific operations. Permission sets serve as the building blocks for roles and are used in both NVIDIA Run:ai predefined roles and custom roles defined through the Roles API.
Retrieve a list of all available permission sets. Each permission set defines a collection of permissions grouped by resource type and associated actions (such as create, read, update, or delete).
Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "permissionSets": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "test",
- "description": "string",
- "permissions": [
- {
- "resourceType": "department",
- "actions": [
- "create"
]
}
]
}
]
}Returns information about a single permission set, including its name, description, and the list of permissions it contains.
Executed successfully.
Bad request.
Unauthorized
Forbidden
unexpected error
unexpected error
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "test",
- "description": "string",
- "permissions": [
- {
- "resourceType": "department",
- "actions": [
- "create"
]
}
]
}Retrieve a summary of user permissions.
Executed successfully.
Unauthorized
unexpected error
unexpected error
[- {
- "resourceType": "department",
- "displayName": "Projects",
- "groupId": "organization",
- "actions": [
- "create"
]
}
]Use to calculate user permitted scopes for an action on a resource.
The request parameters.
Executed successfully.
Unauthorized
unexpected error
unexpected error
{- "resourceType": "department",
- "action": "create"
}{- "create": {
- "system": false,
- "tenants": [
- "1"
], - "tenant": "1",
- "clusters": [
- "a418ed33-9399-48c0-a890-122cadd13bfd"
], - "departments": [
- "7"
], - "projects": [
- "string"
]
}, - "read": {
- "system": false,
- "tenants": [
- "1"
], - "tenant": "1",
- "clusters": [
- "a418ed33-9399-48c0-a890-122cadd13bfd"
], - "departments": [
- "7"
], - "projects": [
- "string"
]
}, - "update": {
- "system": false,
- "tenants": [
- "1"
], - "tenant": "1",
- "clusters": [
- "a418ed33-9399-48c0-a890-122cadd13bfd"
], - "departments": [
- "7"
], - "projects": [
- "string"
]
}, - "delete": {
- "system": false,
- "tenants": [
- "1"
], - "tenant": "1",
- "clusters": [
- "a418ed33-9399-48c0-a890-122cadd13bfd"
], - "departments": [
- "7"
], - "projects": [
- "string"
]
}
}