Atlassian · Schema
PermissionGrant
Details about a permission granted to a user or group.
CodeCollaborationPlatformProductivitySoftware Development
Properties
| Name | Type | Description |
|---|---|---|
| holder | object | The user or group being granted the permission. It consists of a `type`, a type-dependent `parameter` and a type-dependent `value`. See [Holder object](../api-group-permission-schemes/#holder-object) |
| id | integer | The ID of the permission granted details. |
| permission | string | The permission to grant. This permission can be one of the built-in permissions or a custom permission added by an app. See [Built-in permissions](../api-group-permission-schemes/#built-in-permissions |
| self | string | The URL of the permission granted details. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/PermissionGrant",
"title": "PermissionGrant",
"additionalProperties": true,
"description": "Details about a permission granted to a user or group.",
"properties": {
"holder": {
"allOf": [
{
"$ref": "#/components/schemas/PermissionHolder"
}
],
"description": "The user or group being granted the permission. It consists of a `type`, a type-dependent `parameter` and a type-dependent `value`. See [Holder object](../api-group-permission-schemes/#holder-object) in *Get all permission schemes* for more information."
},
"id": {
"description": "The ID of the permission granted details.",
"format": "int64",
"readOnly": true,
"type": "integer"
},
"permission": {
"description": "The permission to grant. This permission can be one of the built-in permissions or a custom permission added by an app. See [Built-in permissions](../api-group-permission-schemes/#built-in-permissions) in *Get all permission schemes* for more information about the built-in permissions. See the [project permission](https://developer.atlassian.com/cloud/jira/platform/modules/project-permission/) and [global permission](https://developer.atlassian.com/cloud/jira/platform/modules/global-permission/) module documentation for more information about custom permissions.",
"type": "string"
},
"self": {
"description": "The URL of the permission granted details.",
"format": "uri",
"readOnly": true,
"type": "string"
}
},
"type": "object"
}