UNPKG

rbac-engine

Version:

Role-based access control engine with policy-based permissions

18 lines 558 B
import { PolicyStatement } from '../models'; export declare class StatementBuilder { private effect?; private actions; private resources; private conditions?; private startDate?; private endDate?; allow(actions: string[]): this; deny(actions: string[]): this; on(resources: string[]): this; when(conditions: Record<string, any>): this; activeFrom(startDate: string): this; activeUntil(endDate: string): this; private validate; build(): PolicyStatement; } //# sourceMappingURL=statement-builder.d.ts.map