Type Alias: WildcardPrefixCheck
ts
type WildcardPrefixCheck = "warn" | "error" | "off";Defined in: packages/core/src/wildcard.ts:106
What the engine does when, with wildcard: true, one permission name implies another only because it is shorter (orders.refund implies orders.refund.large). See RbacOptions.wildcardPrefixCheck.
'warn': log a one-timeconsole.warnper pair whenNODE_ENVisdevelopment(the default).'error': throw anRbacErrorwith codeINVALID_WILDCARD_PERMISSION, before anything is written.'off': say nothing.
