42
42
self.plugin_styles[Plugin] = ['groups.css']
43
43
self.plugin_scripts[Plugin] = ['groups.js']
49
45
roles = set((e.role for e in req.user.active_enrolments))
50
46
ctx['manage_subjects'] = req.store.find(Subject) if \
51
47
req.user.admin or 'tutor' in roles or 'lecturer' in roles else []