diff --git a/temba/api/internal/tests.py b/temba/api/internal/tests.py index 4738ccaf9c..e365da38ff 100644 --- a/temba/api/internal/tests.py +++ b/temba/api/internal/tests.py @@ -125,7 +125,7 @@ def test_notifications(self): def test_shortcuts(self): endpoint_url = reverse("api.internal.shortcuts") + ".json" - self.assertGetNotPermitted(endpoint_url, [None, self.agent]) + self.assertGetNotPermitted(endpoint_url, [None]) self.assertPostNotAllowed(endpoint_url) self.assertDeleteNotAllowed(endpoint_url) diff --git a/temba/settings_common.py b/temba/settings_common.py index 8f439eded5..988871ea83 100644 --- a/temba/settings_common.py +++ b/temba/settings_common.py @@ -689,6 +689,7 @@ "msgs.msg_create", "orgs.org_read", "orgs.user_list", + "tickets.shortcut_list", ), }