mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
update manage_tempaltes
This commit is contained in:
@@ -5,7 +5,7 @@ from flask import url_for
|
||||
from freezegun import freeze_time
|
||||
|
||||
import app
|
||||
from app.enums import ServicePermission
|
||||
from app.enums import AuthType, ServicePermission
|
||||
from notifications_python_client.errors import HTTPError
|
||||
from tests import service_json
|
||||
from tests.conftest import (
|
||||
|
||||
@@ -1179,7 +1179,7 @@ def test_get_users_report(client_request, platform_admin_user, mocker):
|
||||
"permissions": {
|
||||
"test service": [
|
||||
ServicePermission.MANAGE_USERS,
|
||||
"manage_templates",
|
||||
ServicePermission.MANAGE_TEMPLATES,
|
||||
ServicePermission.MANAGE_SETTINGS,
|
||||
ServicePermission.SEND_TEXTS,
|
||||
ServicePermission.SEND_EMAILS,
|
||||
|
||||
@@ -608,7 +608,7 @@ def test_get_manage_folder_viewing_permissions_for_users_not_visible_when_no_man
|
||||
active_user_with_permissions["permissions"][SERVICE_ONE_ID] = [
|
||||
ServicePermission.SEND_TEXTS,
|
||||
ServicePermission.SEND_EMAILS,
|
||||
"manage_templates",
|
||||
ServicePermission.MANAGE_TEMPLATES,
|
||||
"manage_api_keys",
|
||||
ServicePermission.VIEW_ACTIVITY,
|
||||
]
|
||||
@@ -862,7 +862,7 @@ def test_manage_folder_users_doesnt_change_permissions_current_user_cannot_manag
|
||||
active_user_with_permissions["permissions"][SERVICE_ONE_ID] = [
|
||||
ServicePermission.SEND_TEXTS,
|
||||
ServicePermission.SEND_EMAILS,
|
||||
"manage_templates",
|
||||
ServicePermission.MANAGE_TEMPLATES,
|
||||
"manage_api_keys",
|
||||
ServicePermission.VIEW_ACTIVITY,
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user