Protected Readonly _basePrivate Optional _loadProtected Optional _policiesProtected Readonly _schemaProtected Readonly _validatorThis function is used to check whether a user action is allowed against a defined Policy
TODO: Find if this function is used, it seems to be redundant as it may be easily replaced with just Policy calls.
TODO: Add type definition for userContext.
The Policy object that the action is to be checked against
The corresponding users context
The action which is to be checked
Protected generatePrivate loadProtected loadGenerated using TypeDoc
The Policies class is responsible for managing access control policies and to make sure which user requested actions are allowed and which are not.