Skip to content

Commit

Permalink
perf: 修改消息订阅
Browse files Browse the repository at this point in the history
  • Loading branch information
ibuler committed Mar 14, 2022
1 parent 758f418 commit 90d84f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/notifications/api/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 90d84f4

Please sign in to comment.