Skip to content
GitLab
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
b8eceaac
Unverified
Commit
b8eceaac
authored
Nov 23, 2016
by
Thom Wiggers
📐
Browse files
Fix backend check
parent
db51b4d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
website/activemembers/backends.py
View file @
b8eceaac
...
...
@@ -27,7 +27,7 @@ class CommitteeBackend(object):
return
set
()
if
not
hasattr
(
user
,
perm_cache_name
):
perms
=
(
Permission
.
objects
.
filter
(
committee
=
committees
)
.
filter
(
committee
__in
=
committees
)
.
values_list
(
'content_type__app_label'
,
'codename'
)
.
order_by
())
setattr
(
user
,
perm_cache_name
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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