From 90d84f4d69cc264d7e2692184e3ee2c03ad6ead3 Mon Sep 17 00:00:00 2001 From: ibuler Date: Mon, 14 Mar 2022 11:05:12 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E8=AE=A2=E9=98=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/notifications/api/notifications.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/notifications/api/notifications.py b/apps/notifications/api/notifications.py index 225b8a065..afcce3564 100644 --- a/apps/notifications/api/notifications.py +++ b/apps/notifications/api/notifications.py @@ -43,7 +43,8 @@ class SystemMsgSubscriptionViewSet(ListModelMixin, 'partial_update': SystemMsgSubscriptionSerializer } rbac_perms = { - + 'list': 'settings.change_systemmsgsubscription', + 'update': 'settings.change_systemmsgsubscription' } def list(self, request, *args, **kwargs):