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
d88ffae5
Commit
d88ffae5
authored
May 12, 2017
by
Skia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change Trombi permissions
parent
a0bd5ee8
Pipeline
#980
passed with stage
in 4 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
trombi/models.py
trombi/models.py
+0
-3
No files found.
trombi/models.py
View file @
d88ffae5
...
...
@@ -74,9 +74,6 @@ class Trombi(models.Model):
return
reverse
(
'trombi:detail'
,
kwargs
=
{
'trombi_id'
:
self
.
id
})
def
is_owned_by
(
self
,
user
):
return
user
.
is_owner
(
self
.
club
)
def
can_be_edited_by
(
self
,
user
):
return
user
.
can_edit
(
self
.
club
)
def
can_be_viewed_by
(
self
,
user
):
...
...
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