fix: 修复批量命令权限位

pull/7882/head
Jiangjie.Bai 2022-03-16 18:27:05 +08:00 committed by Jiangjie.Bai
parent 580d2cd80b
commit 04b35ba520
1 changed files with 1 additions and 1 deletions

View File

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