|
@ -259,8 +259,9 @@ class EditReseniView(DetailReseniView): |
|
|
return ctx |
|
|
return ctx |
|
|
|
|
|
|
|
|
def check_access(self): |
|
|
def check_access(self): |
|
|
""" Na orga máme nároky už v urls.py """ |
|
|
# Na orga máme nároky už v urls.py ale better safe then sorry |
|
|
pass |
|
|
if not self.request.user.je_org: |
|
|
|
|
|
raise PermissionDenied() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def hodnoceniReseniView(request, pk, *args, **kwargs): |
|
|
def hodnoceniReseniView(request, pk, *args, **kwargs): |
|
|