mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-08 03:38:26 -04:00
Remove edit_folder_permissions service setting (feature flag)
This removes the edit_folder_permission checks from the code, enabling the folder permissions for all services. This also fixes folder-related tests to set up appropriate user permissions. This should only be merged right after alphagov/notifications-api#2428, when all other permission stories are done.
This commit is contained in:
committed by
Chris Hill-Scott
parent
c31dbd4de0
commit
cab780b549
@@ -1783,7 +1783,7 @@ def test_should_redirect_when_deleting_a_template(
|
||||
):
|
||||
|
||||
mock_get_template_folders.return_value = [
|
||||
{'id': PARENT_FOLDER_ID, 'name': 'Folder', 'parent': None, 'users_with_permission': []}
|
||||
{'id': PARENT_FOLDER_ID, 'name': 'Folder', 'parent': None, 'users_with_permission': [ANY]}
|
||||
]
|
||||
mock_get_service_template = mocker.patch(
|
||||
'app.service_api_client.get_service_template',
|
||||
|
||||
Reference in New Issue
Block a user