mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-04 18:46:39 +00:00
fix: 修改查看 celery 日志的权限位 (#9728)
Co-authored-by: Aaron3S <chenyang@fit2cloud.com>
This commit is contained in:
parent
ab0a1421a0
commit
37f7f1b510
@ -13,7 +13,7 @@ class CeleryTaskLogView(PermissionsMixin, TemplateView):
|
||||
template_name = 'ops/celery_task_log.html'
|
||||
permission_classes = [RBACPermission]
|
||||
rbac_perms = {
|
||||
'GET': 'ops.view_tasklog'
|
||||
'GET': 'ops.view_celerytask'
|
||||
}
|
||||
|
||||
def get_context_data(self, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user