MandarineSecurity.Auth.PermissionValidator
import type { MandarineSecurity } from "https://raw.githubusercontent.com/mandarineorg/mandarinets/master/mod.ts";
const { PermissionValidator } = MandarineSecurity.Auth;
Permission validators are functions executed during the evaluation of a security expression. PermissionValidator is how Mandarine interprets a security expression
type PermissionValidator = (request: any, authentication: any) => (...parameters: Array<any>) => boolean;