Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions core/fixtures/auth_groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,6 @@
pk: 5
fields:
name: mapper_ai_assistant
- model: "auth.group"
pk: 6
fields:
name: mapper-waitlist
- model: "auth.group"
pk: 7
fields:
Expand Down
12 changes: 0 additions & 12 deletions core/fixtures/toggles.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@
"qa": true
}
},
{
"pk": 7,
"model": "toggles.toggle",
"fields": {
"is_active": true,
"name": "MAPPER_WAITLIST_TOGGLE",
"dev": true,
"qa": false,
"staging": true,
"production": true
}
},
{
"pk": 8,
"model": "toggles.toggle",
Expand Down
1 change: 0 additions & 1 deletion core/users/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
HAPI_FHIR_SERVERS_GROUP = 'hapi_fhir_servers'
OPERATIONS_PANEL_GROUP = 'operations_panel'
MAPPER_AI_ASSISTANT_GROUP = 'mapper_ai_assistant'
MAPPER_WAITLIST_GROUP = 'mapper-waitlist' # obsolete no effect
MAPPER_APPROVED_GROUP = 'mapper-approved' # obsolete no effect
EARLY_ACCESS_NGO_GROUP = 'early_access_ngo'
GUEST_GROUP = 'guest_user'
Expand Down
17 changes: 17 additions & 0 deletions core/users/migrations/0039_delete_mapper_waitlist_group.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
from django.db import migrations


def delete_mapper_waitlist_group(apps, schema_editor): # pylint: disable=unused-argument
apps.get_model('auth', 'Group').objects.filter(name='mapper-waitlist').delete()


class Migration(migrations.Migration):

dependencies = [
('auth', '0012_alter_user_first_name_max_length'),
('users', '0038_alter_userprofile_organizations'),
]

operations = [
migrations.RunPython(delete_mapper_waitlist_group, migrations.RunPython.noop),
]
Loading