UNPKG

payload-gatekeeper

Version:

The ultimate access control gatekeeper for Payload CMS v3 - Advanced RBAC with wildcard support, auto role assignment, and flexible configuration

6 lines 281 B
import type { GatekeeperOptions } from '../types'; /** * Global beforeOperation hook to check permissions */ export declare const createBeforeOperationHook: (options?: GatekeeperOptions) => ({ args, operation }: any) => Promise<any>; //# sourceMappingURL=beforeOperation.d.ts.map