perf: 修改消息订阅

pull/7830/head
ibuler 2022-03-14 11:05:12 +08:00 committed by 老广
parent 758f418f63
commit 90d84f4d69
1 changed files with 2 additions and 1 deletions

View File

@ -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):