Home > @tridion-sites/models > SecurityDescriptor
SecurityDescriptor is a grouping of all the Rights and Permissions (allow and denies) for the trustees. Specific to a user and a context (IdentifiableObject).
Signature:
export declare class SecurityDescriptor
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)({ backendModel, permissions, rights }) | Constructs a new instance of the SecurityDescriptor class |
| Property | Modifiers | Type | Description |
|---|---|---|---|
| _backendModel | BackendSecurityDescriptor | ||
| getInternalModel | () => BackendSecurityDescriptor | ||
| hasPermission | (permission: Permission) => boolean | Allows to check whether security descriptor includes provided permission. |
|
| hasRight | (right: Right) => boolean | Allows to check whether security descriptor includes provided right. |
|
| permissions | ReadonlyArray<Permission> | undefined | Permissions of an Identifiable object for a trustee. | |
| rights | ReadonlyArray<Right> | undefined | Permissions of an Identifiable object for a trustee. |