Skip to content

Commit 45da7ed

Browse files
committed
1 parent ea66d90 commit 45da7ed

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

core/fixtures/auth_groups.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,7 @@
5454
pk: 14
5555
fields:
5656
name: graphql_api
57+
- model: "auth.group"
58+
pk: 15
59+
fields:
60+
name: core_user

core/users/constants.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
STAFF_GROUP = 'staff_user'
2020
SUPERADMIN_GROUP = 'superadmin_user'
2121
GRAPHQL_API_GROUP = 'graphql_api'
22+
CORE_USER_GROUP = 'core_user'
2223
AUTH_GROUPS = [
2324
OCL_SERVERS_GROUP,
2425
OCL_FHIR_SERVERS_GROUP,
@@ -34,6 +35,7 @@
3435
PREMIUM_GROUP,
3536
STAFF_GROUP,
3637
SUPERADMIN_GROUP,
37-
GRAPHQL_API_GROUP
38+
GRAPHQL_API_GROUP,
39+
CORE_USER_GROUP,
3840
]
3941
INVALID_AUTH_GROUP_NAME = 'Invalid auth group.'

0 commit comments

Comments
 (0)