mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
dont use has_permissions to check for platform admins
platform_admin is a separate concept to permissions, so by removing the checks for it from the current_user.has_permissions function, we can simplify things greatly. We already record on the user whether they're a platform admin anyway.
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import uuid
|
||||
|
||||
from app.notify_client.template_statistics_api_client import (
|
||||
TemplateStatisticsApiClient,
|
||||
)
|
||||
from app.notify_client.template_statistics_api_client import \
|
||||
TemplateStatisticsApiClient
|
||||
|
||||
|
||||
def test_template_statistics_client_calls_correct_api_endpoint_for_service(mocker, api_user_active):
|
||||
|
||||
Reference in New Issue
Block a user