Represents a set of checks, where each key is a string representing the check name, and the corresponding value is a function that takes a target and returns a boolean. The boolean indicates whether the check passes or not.
Represents a module of permissions with associated abilities and checks.
Represents a collection of permissions, where each key is a string representing a module name, and the corresponding value is a PermissionModule.
Represents a set of rules defining permissions, typically used in the context of checking user permissions.
Represents a collection of test rules, where each key is a string representing a rule name, and the corresponding value is a Rules object.
Checks whether a set of permissions allows all specified test rules.
The object containing user permissions.
The set of test rules to check against the user permissions.
Checks if a user has the required permissions based on specified rules.
The object containing user permissions.
The rules specifying the required permissions and checks.
Generated using TypeDoc
Represents a set of abilities, where each key is a string representing the ability name, and the corresponding value is a boolean indicating whether the ability is granted or not.