Check if a role is in the allowed list. Centralizes role-membership checks used by service-level requireRole. When the migration to permission-based checks is complete, this function will be replaced by permission lookups.
Check if a role is in the allowed list. Centralizes role-membership checks used by service-level requireRole. When the migration to permission-based checks is complete, this function will be replaced by permission lookups.