Skip to content
Snippets Groups Projects
Commit ae321d61 authored by yourcoke's avatar yourcoke
Browse files

Remove permission check for now

parent 72f58d8a
No related branches found
No related tags found
No related merge requests found
...@@ -127,8 +127,6 @@ class AssignRoleView(AssemblyMixin, FormView): ...@@ -127,8 +127,6 @@ class AssignRoleView(AssemblyMixin, FormView):
return ctx return ctx
def form_valid(self, form, **kwargs): def form_valid(self, form, **kwargs):
if not self.request.user.has_conference_staffpermission(self.conference, 'core.view_platformuser', 'core.block_platformuser'):
return HttpResponse('Unauthorized', status=401)
role = self.kwargs['role'] role = self.kwargs['role']
event_id = self.kwargs['pk'] event_id = self.kwargs['pk']
if role not in EventParticipant.Role: if role not in EventParticipant.Role:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment