AutoBE
    Preparing search index...

    Business role, title, or position within an actor category.

    interface IActorRole {
        description: string;
        grants: (string & CamelCasePattern)[];
        inherits: (string & CamelCasePattern)[];
        name: string & CamelCasePattern & MinLength<1>;
        title: string & MinLength<1>;
    }
    Index

    Properties

    description: string

    Business meaning and typical responsibility of this role.

    grants: (string & CamelCasePattern)[]

    Role names a holder of this role may assign to or revoke from OTHER users of the same actor — its grade-management (promote/demote) authority.

    This is how a user obtains or changes a grade: a higher grade manages lower grades. Example: owner.grants = ["manager", "staff"], manager.grants = ["staff"], staff.grants = []. Each entry MUST be a declared role of the same actor. Use an empty array when this grade cannot manage grades.

    Grant authority is distinct from permission inheritance (inherits) and is captured separately because the two sets are not always the same.

    inherits: (string & CamelCasePattern)[]

    Names of lower or narrower roles whose permissions are included by this role.

    Example: an owner role may include manager, and a manager role may include staff. Use an empty array when the role does not inherit another role.

    name: string & CamelCasePattern & MinLength<1>

    Stable camelCase role identifier.

    Examples: owner, manager, staff, customerSupport, contentModerator.

    title: string & MinLength<1>

    Human-readable role title.

    This may be a job title, permission role, organizational position, or product-specific persona label.