Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
thalia
concrexit
Commits
c0fe3017
Unverified
Commit
c0fe3017
authored
Apr 14, 2017
by
Thom Wiggers
📐
Browse files
Use correct permission check for board wiki
parent
9509b932
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/thaliawebsite/views.py
View file @
c0fe3017
...
...
@@ -51,7 +51,7 @@ def wiki_login(request):
except
Member
.
DoesNotExist
:
memberships
=
[]
if
user
.
has_perm
(
'board_wiki'
):
if
user
.
has_perm
(
'
activemembers.
board_wiki'
):
memberships
.
append
(
'bestuur'
)
return
JsonResponse
({
'status'
:
'ok'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment