From d2cb4c73f00d3933842c72bb8566cf3027bcede0 Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Wed, 1 Oct 2025 18:25:31 +0300 Subject: [PATCH] Features: 1) Allow "retrieve" action in `additional` permissions for AddressViewSet; Fixes: none; Extra: none; --- core/viewsets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/viewsets.py b/core/viewsets.py index 29169409..2c2795fb 100644 --- a/core/viewsets.py +++ b/core/viewsets.py @@ -1294,7 +1294,7 @@ class AddressViewSet(EvibesViewSet): filterset_class = AddressFilter queryset = Address.objects.all() serializer_class = AddressSerializer - additional = {"create": "ALLOW"} + additional = {"create": "ALLOW", "retrieve": "ALLOW"} def get_serializer_class(self): if self.action == "create":