mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-08-22 16:16:37 +00:00
perf: 修改消息订阅
This commit is contained in:
parent
758f418f63
commit
90d84f4d69
@ -43,7 +43,8 @@ class SystemMsgSubscriptionViewSet(ListModelMixin,
|
|||||||
'partial_update': SystemMsgSubscriptionSerializer
|
'partial_update': SystemMsgSubscriptionSerializer
|
||||||
}
|
}
|
||||||
rbac_perms = {
|
rbac_perms = {
|
||||||
|
'list': 'settings.change_systemmsgsubscription',
|
||||||
|
'update': 'settings.change_systemmsgsubscription'
|
||||||
}
|
}
|
||||||
|
|
||||||
def list(self, request, *args, **kwargs):
|
def list(self, request, *args, **kwargs):
|
||||||
|
Loading…
Reference in New Issue
Block a user