hasAllPermissions
Checks if this feature has all of the specified permissions.
Returns true only if the feature's permission set contains every provided permission. Useful for checking if a feature requires multiple roles simultaneously.
Example:
// Check if feature requires both admin AND developer access
if (feature.hasAllPermissions("ADMIN", "DEVELOPER")) {
// Feature requires multiple roles
verifyMultiRoleAccess()
}Content copied to clipboard
Return
true if all permissions are in Feature.permissions, false otherwise
Parameters
permissions
the permissions to check for