mirror of https://github.com/jumpserver/jumpserver
fix: 修复批量命令权限位
parent
580d2cd80b
commit
04b35ba520
|
@ -132,7 +132,7 @@ class CommandExecutionHostRelationViewSet(OrgRelationMixin, OrgBulkModelViewSet)
|
|||
search_fields = ('asset__hostname', )
|
||||
http_method_names = ['options', 'get']
|
||||
rbac_perms = {
|
||||
'GET': 'audits.view_commandexecution'
|
||||
'GET': 'ops.view_commandexecution'
|
||||
}
|
||||
|
||||
def get_queryset(self):
|
||||
|
|
Loading…
Reference in New Issue