payload-gatekeeper
Version:
The ultimate access control gatekeeper for Payload CMS v3 - Advanced RBAC with wildcard support, auto role assignment, and flexible configuration
18 lines • 600 B
TypeScript
export declare const PERMISSIONS: {
readonly ALL: "*";
readonly ALL_READ: "*.read";
readonly ALL_CREATE: "*.create";
readonly ALL_UPDATE: "*.update";
readonly ALL_DELETE: "*.delete";
};
export declare const DEFAULT_SUPER_ADMIN_ROLE: {
name: string;
label: string;
permissions: "*"[];
active: boolean;
protected: boolean;
description: string;
};
export declare const CRUD_OPERATIONS: readonly ["create", "read", "update", "delete"];
export declare const EXTENDED_OPERATIONS: readonly ["manage", "publish", "archive"];
//# sourceMappingURL=constants.d.ts.map