Commit 01205932 by Kálmán Viktor

dashboard: matching acl to template list and choose

parent 8adaa4b2
......@@ -751,7 +751,7 @@ class TemplateChoose(TemplateView):
def get_context_data(self, *args, **kwargs):
context = super(TemplateChoose, self).get_context_data(*args, **kwargs)
templates = InstanceTemplate.get_objects_with_level("user",
templates = InstanceTemplate.get_objects_with_level("operator",
self.request.user)
context.update({
'box_title': _('Choose template'),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment