Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
feudal
feudalBackend
Commits
500742f8
Commit
500742f8
authored
Apr 09, 2020
by
lukas.burgey
Browse files
Fix an error which caused services to be invisible to the user
parent
90238dc4
Pipeline
#81695
failed with stage
in 1 minute and 2 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
feudal/backend/models/users.py
View file @
500742f8
...
...
@@ -111,7 +111,8 @@ class User(AbstractUser):
if
queryset
is
None
:
queryset
=
vo
.
services
.
all
()
else
:
queryset
.
union
(
vo
.
services
.
all
())
# merge querysets
queryset
=
queryset
.
union
(
vo
.
services
.
all
())
return
queryset
...
...
lukas.burgey
@af9063
mentioned in commit
b9674588
·
Apr 09, 2020
mentioned in commit
b9674588
mentioned in commit b967458857cb14a35e512c0152f91aa186b6069d
Toggle commit list
lukas.burgey
@af9063
mentioned in commit
5161f1b1
·
Apr 09, 2020
mentioned in commit
5161f1b1
mentioned in commit 5161f1b159ef7f9134eddbd3130020b2344945e4
Toggle commit list
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