mirror of https://github.com/jumpserver/jumpserver
fix: 修复批量操作权限bug
parent
702111f578
commit
09494193ab
|
@ -13,6 +13,9 @@ class RBACPermission(permissions.DjangoModelPermissions):
|
||||||
('update', '%(app_label)s.change_%(model_name)s'),
|
('update', '%(app_label)s.change_%(model_name)s'),
|
||||||
('partial_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'),
|
('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', ''),
|
('metadata', ''),
|
||||||
('GET', '%(app_label)s.view_%(model_name)s'),
|
('GET', '%(app_label)s.view_%(model_name)s'),
|
||||||
('OPTIONS', ''),
|
('OPTIONS', ''),
|
||||||
|
|
Loading…
Reference in New Issue