From 09494193abc49fd066ca799c9141276aad5c6b55 Mon Sep 17 00:00:00 2001 From: feng626 <1304903146@qq.com> Date: Tue, 22 Feb 2022 14:34:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=89=B9=E9=87=8F?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E6=9D=83=E9=99=90bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/rbac/permissions.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/apps/rbac/permissions.py b/apps/rbac/permissions.py index efe25e58a..717f79848 100644 --- a/apps/rbac/permissions.py +++ b/apps/rbac/permissions.py @@ -13,6 +13,9 @@ class RBACPermission(permissions.DjangoModelPermissions): ('update', '%(app_label)s.change_%(model_name)s'), ('partial_update', '%(app_label)s.change_%(model_name)s'), ('destroy', '%(app_label)s.delete_%(model_name)s'), + ('bulk_update', '%(app_label)s.change_%(model_name)s'), + ('partial_bulk_update', '%(app_label)s.change_%(model_name)s'), + ('bulk_destroy', '%(app_label)s.delete_%(model_name)s'), ('metadata', ''), ('GET', '%(app_label)s.view_%(model_name)s'), ('OPTIONS', ''),