Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AE
Sith
Commits
3e0b964e
Commit
3e0b964e
authored
Aug 26, 2016
by
Skia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Small AnonymousUser fix (le gaulois)
parent
01c39919
Pipeline
#143
failed with stage
in 1 minute and 45 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
core/models.py
core/models.py
+4
-0
No files found.
core/models.py
View file @
3e0b964e
...
@@ -389,6 +389,10 @@ class AnonymousUser(AuthAnonymousUser):
...
@@ -389,6 +389,10 @@ class AnonymousUser(AuthAnonymousUser):
def
subscribed
(
self
):
def
subscribed
(
self
):
return
False
return
False
@
property
def
is_root
(
self
):
return
False
def
is_in_group
(
self
,
group_name
):
def
is_in_group
(
self
,
group_name
):
"""
"""
The anonymous user is only the public group
The anonymous user is only the public group
...
...
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