A permission name to check for.
An object of permission names that the user has (can be retreived from the PermissionContext).
Checks if the user has the required permissions using the permissions object.
An array of permission names to check for.
An object of permission names that the user has (can be retreived from the PermissionContext).
OptionalcheckMethod: PermissionCheckMethodLiteral | PermissionCheckMethodDetermines if all permissions are required (And) or at least one is required (Or).
Checks if the user has the required permission using the permissions object.