From 576463535f6b66e1772b5d60878408008faefcd0 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Tue, 30 Jun 2015 02:38:50 -0400 Subject: [PATCH] Add view permission and object permission mixins to the AssignRemove CBV --- mayan/apps/common/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mayan/apps/common/views.py b/mayan/apps/common/views.py index 49f9749e36..b071eac84d 100644 --- a/mayan/apps/common/views.py +++ b/mayan/apps/common/views.py @@ -33,7 +33,7 @@ from .mixins import ( ) -class AssignRemoveView(TemplateView): +class AssignRemoveView(ViewPermissionCheckMixin, ObjectPermissionCheckMixin, TemplateView): decode_content_type = False extra_context = None grouped = False