fix: 修改查看 celery 日志的权限位 (#9728)

Co-authored-by: Aaron3S <chenyang@fit2cloud.com>
pull/9729/head^2
fit2bot 2023-02-23 19:06:08 +08:00 committed by GitHub
parent ab0a1421a0
commit 37f7f1b510
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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