Atlassian · Schema

PermissionSubject

The user or group that the permission applies to.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
type string
identifier string for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be the groupId. We are deprecating groupName support in mid-2024 for this
View JSON Schema on GitHub

JSON Schema

atlassian-permissionsubject-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PermissionSubject",
  "title": "PermissionSubject",
  "required": [
    "identifier",
    "type"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "user",
        "group"
      ]
    },
    "identifier": {
      "type": "string",
      "description": "for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users\n\nfor `type=group`, identifier should be the groupId. We are deprecating groupName support in mid-2024 \nfor this field but still accept it in the interim."
    }
  },
  "description": "The user or group that the permission applies to."
}