interface BulkTransitionPrincipalTypeAssignment {
    principalType:
        | "USER"
        | "GROUP"
        | "GUEST"
        | "ANONYMOUS"
        | "ALL_LICENSED_USERS_USER_CLASS"
        | "ALL_PRODUCT_ADMINS_USER_CLASS"
        | "APP";
    removeAccess: boolean;
    roleId?: null | string;
}

Hierarchy

  • Record<string, unknown>
    • BulkTransitionPrincipalTypeAssignment

Properties

principalType:
    | "USER"
    | "GROUP"
    | "GUEST"
    | "ANONYMOUS"
    | "ALL_LICENSED_USERS_USER_CLASS"
    | "ALL_PRODUCT_ADMINS_USER_CLASS"
    | "APP"

The type of principal.

removeAccess: boolean

Whether to remove access for this principal type instead of assigning a role.

roleId?: null | string

The UUID of the space role to assign. Required when removeAccess is false.