UNPKG

casbin

Version:

An authorization library that supports access control models like ACL, RBAC, ABAC in Node.JS

5 lines (4 loc) 190 B
import { Adapter } from './adapter'; export interface UpdatableAdapter extends Adapter { updatePolicy(sec: string, ptype: string, oldRule: string[], newRule: string[]): Promise<void>; }