From 37f7f1b510ebf8a1bbb58a66767bdb06d346aa5f Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Thu, 23 Feb 2023 19:06:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=94=B9=E6=9F=A5=E7=9C=8B=20c?= =?UTF-8?q?elery=20=E6=97=A5=E5=BF=97=E7=9A=84=E6=9D=83=E9=99=90=E4=BD=8D?= =?UTF-8?q?=20(#9728)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Aaron3S --- apps/ops/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ops/views.py b/apps/ops/views.py index bb07d8cac..85aa94c65 100644 --- a/apps/ops/views.py +++ b/apps/ops/views.py @@ -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):