Skip to content

Commit

Permalink
Permet aux membres en lecture seule de supprimer leurs contenus en bêta
Browse files Browse the repository at this point in the history
  • Loading branch information
Benallegue-Mehdi authored and Arnaud-D committed May 13, 2020
1 parent 4b61c0c commit b444923
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zds/tutorialv2/views/contents.py
Expand Up @@ -374,7 +374,7 @@ def form_valid(self, form):
return super().form_valid(form)


class DeleteContent(LoggedWithReadWriteHability, SingleContentViewMixin, DeleteView):
class DeleteContent(LoginRequiredMixin, SingleContentViewMixin, DeleteView):
model = PublishableContent
template_name = None
http_method_names = ['delete', 'post']
Expand Down

0 comments on commit b444923

Please sign in to comment.