Skip to content

Commit 8923fe5

Browse files
committed
fix: align global staff role with backend key
1 parent 68244d7 commit 8923fe5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/authz-module/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const MAX_TABLE_FILTERS_APPLIED = 10;
3939

4040
// Role data received from the API uses the dotted format for Django-managed roles.
4141
export const SUPERUSER_ROLE = 'django.superuser';
42-
export const GLOBAL_STAFF_ROLE = 'django.globalstaff';
42+
export const GLOBAL_STAFF_ROLE = 'django.staff';
4343
export const DJANGO_MANAGED_ROLES = [SUPERUSER_ROLE, GLOBAL_STAFF_ROLE];
4444

4545
export const MAP_ROLE_KEY_TO_LABEL: Record<string, string> = {

0 commit comments

Comments
 (0)