mirror of https://github.com/jumpserver/jumpserver
perf: 修改消息订阅
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