Interface Permission

interface Permission {
    action: PermissionAction;
    collection: string;
    id?: string;
    permissions?: { _and: PermissionCondition[] };
    policy?: { name: string };
}

Properties

collection: string
id?: string
permissions?: { _and: PermissionCondition[] }
policy?: { name: string }