UNPKG

payload-gatekeeper

Version:

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

9 lines 428 B
import type { Payload } from 'payload'; import type { SystemRole, SyncResults } from '../types'; export type DefaultRole = SystemRole; /** * Sync system-managed roles with optimistic locking * This ensures role configurations are up-to-date while preventing race conditions */ export declare function syncSystemRoles(payload: Payload, defaultRoles: SystemRole[]): Promise<SyncResults>; //# sourceMappingURL=syncRoles.d.ts.map