@archastro/sdk
    Preparing search index...

    Interface AclGrant

    A single access-control grant that pairs a principal with the set of actions it is allowed to perform.

    interface AclGrant {
        actions: string[];
        principal?: string;
        principal_type: string;
    }
    Index

    Properties

    actions: string[]

    Array of action strings the principal is permitted to perform, e.g. ["read", "write"]. Must contain at least one entry.

    principal?: string

    The identifier of the principal. A string ID for "user", "team", "org", and "agent" types; one of "admin", "member", or "viewer" for "org_role"; omit entirely when principal_type is "everyone".

    principal_type: string

    The kind of principal receiving the grant. One of "user", "team", "org", "org_role", "agent", or "everyone".