@camunda8/sdk
    Preparing search index...

    Interface PatchAuthorizationRequest

    interface PatchAuthorizationRequest {
        action: "ADD" | "REMOVE";
        ownerKey: string;
        permissions: {
            permissionType: "DELETE" | "CREATE" | "READ" | "UPDATE";
            resourceIds: [];
        }[];
        resourceType: | "USER_TASK"
        | "AUTHORIZATION"
        | "MESSAGE"
        | "JOB"
        | "APPLICATION"
        | "TENANT"
        | "DEPLOYMENT"
        | "PROCESS_DEFINITION"
        | "DECISION_REQUIREMENTS_DEFINITION"
        | "DECISION_DEFINITION"
        | "USER_GROUP"
        | "USER"
        | "ROLE";
    }
    Index

    Properties

    action: "ADD" | "REMOVE"

    Indicates if permissions should be added or removed.

    ownerKey: string

    The key of the owner of the authorization.

    permissions: {
        permissionType: "DELETE" | "CREATE" | "READ" | "UPDATE";
        resourceIds: [];
    }[]

    The permissions to add/remove.

    Type declaration

    • permissionType: "DELETE" | "CREATE" | "READ" | "UPDATE"

      Specifies the type of permissions.

    • resourceIds: []

      A list of resource IDs the permission relates to.

    resourceType:
        | "USER_TASK"
        | "AUTHORIZATION"
        | "MESSAGE"
        | "JOB"
        | "APPLICATION"
        | "TENANT"
        | "DEPLOYMENT"
        | "PROCESS_DEFINITION"
        | "DECISION_REQUIREMENTS_DEFINITION"
        | "DECISION_DEFINITION"
        | "USER_GROUP"
        | "USER"
        | "ROLE"

    The type of resource to add/remove perissions to/from.