diff --git a/apps/assets/api/domain.py b/apps/assets/api/domain.py index b022f4dec..1e500c29a 100644 --- a/apps/assets/api/domain.py +++ b/apps/assets/api/domain.py @@ -40,7 +40,7 @@ class GatewayTestConnectionApi(SingleObjectMixin, APIView): queryset = Gateway.objects.all() object = None rbac_perms = { - 'POST': 'assets.change_gateway' + 'POST': 'assets.test_gateway' } def post(self, request, *args, **kwargs):