Commit 5482f117 authored by Sli's avatar Sli
Browse files

Merge branch 'trombi' into 'master'

trombi: permissions fixs

See merge request ae/Sith!241
parents fd5cd56f 5151fc37
Pipeline #2041 passed with stage
in 25 minutes and 58 seconds
...@@ -45,6 +45,7 @@ from core.views import ( ...@@ -45,6 +45,7 @@ from core.views import (
TabedViewMixin, TabedViewMixin,
CanCreateMixin, CanCreateMixin,
QuickNotifMixin, QuickNotifMixin,
UserIsLoggedMixin,
) )
from core.models import User from core.models import User
from club.models import Club from club.models import Club
...@@ -302,7 +303,9 @@ class UserTrombiForm(forms.Form): ...@@ -302,7 +303,9 @@ class UserTrombiForm(forms.Form):
) )
class UserTrombiToolsView(QuickNotifMixin, TrombiTabsMixin, TemplateView): class UserTrombiToolsView(
QuickNotifMixin, TrombiTabsMixin, UserIsLoggedMixin, TemplateView
):
""" """
Display a user's trombi tools Display a user's trombi tools
""" """
...@@ -438,7 +441,7 @@ class UserTrombiProfileView(TrombiTabsMixin, DetailView): ...@@ -438,7 +441,7 @@ class UserTrombiProfileView(TrombiTabsMixin, DetailView):
return super(UserTrombiProfileView, self).get(request, *args, **kwargs) return super(UserTrombiProfileView, self).get(request, *args, **kwargs)
class TrombiCommentFormView: class TrombiCommentFormView(UserIsLoggedMixin):
""" """
Create/edit a trombi comment Create/edit a trombi comment
""" """
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment