mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -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:
@@ -13,7 +13,7 @@
|
||||
{% endfor %}
|
||||
</fieldset>
|
||||
|
||||
{% if current_service.has_permission("edit_folder_permissions") and form.folder_permissions.all_template_folders %}
|
||||
{% if form.folder_permissions.all_template_folders %}
|
||||
{{ checkboxes_nested(form.folder_permissions, form.folder_permissions.children(), hide_legend=True, collapsible_opts={ 'field': 'folder' }) }}
|
||||
{% elif user and user.platform_admin %}
|
||||
<p class="bottom-gutter">
|
||||
|
||||
Reference in New Issue
Block a user