Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AE
Sith
Commits
319bb0c2
Commit
319bb0c2
authored
May 10, 2017
by
Skia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix important rights problem in clubs
parent
bf38de2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
club/models.py
club/models.py
+1
-1
No files found.
club/models.py
View file @
319bb0c2
...
...
@@ -138,7 +138,7 @@ class Club(models.Model):
Method to see if that object can be edited by the given user
"""
ms
=
self
.
get_membership_for
(
user
)
if
ms
is
not
None
:
if
ms
is
not
None
and
ms
.
role
>
settings
.
SITH_MAXIMUM_FREE_ROLE
:
return
True
return
False
...
...
Write
Preview
Markdown
is supported
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