From 05d071fb27320febd834298da58e7cd7ac2b876b Mon Sep 17 00:00:00 2001 From: SalmanAsh Date: Tue, 16 Jul 2024 08:44:03 +0000 Subject: [PATCH] allow any permission change --- api/views/check_agreement.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/views/check_agreement.py b/api/views/check_agreement.py index 1bdabf0..800fd74 100644 --- a/api/views/check_agreement.py +++ b/api/views/check_agreement.py @@ -25,6 +25,8 @@ class CheckAgreementViewSet(ModelViewSet[User, Contributor]): return OKAY if he has otherwise return the latest commit ID. """ + permission_classes = [AllowAny] + def get(self, request): """ Get the latest commit id and compare with contributor's