feat(permissions): add inquiries resource (view/manage) + idempotent role backfill
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -103,6 +103,10 @@ const DEFAULT_PERMISSIONS: Record<string, Record<string, boolean>> = {
|
||||
delete: false,
|
||||
change_stage: false,
|
||||
},
|
||||
inquiries: {
|
||||
view: false,
|
||||
manage: false,
|
||||
},
|
||||
};
|
||||
|
||||
const GROUP_LABELS: Record<string, string> = {
|
||||
@@ -126,6 +130,7 @@ const GROUP_LABELS: Record<string, string> = {
|
||||
admin: 'Administration',
|
||||
residential_clients: 'Residential Clients',
|
||||
residential_interests: 'Residential Interests',
|
||||
inquiries: 'Inquiries',
|
||||
};
|
||||
|
||||
function formatAction(action: string): string {
|
||||
|
||||
Reference in New Issue
Block a user