Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
c912cabc
Commit
c912cabc
authored
Jan 20, 2017
by
Benjamin Fischer
Browse files
[controller/usermanagement] method to list all groups/projects
parent
98e5fa93
Changes
1
Hide whitespace changes
Inline
Side-by-side
vispa/controller/usermanagement.py
View file @
c912cabc
...
...
@@ -395,6 +395,14 @@ class UMAjaxController(AbstractController):
"status"
])
@
cherrypy
.
expose
def
user_groups
(
self
):
return
[
grp
.
name
for
grp
in
cherrypy
.
request
.
user
.
get_groups
()]
@
cherrypy
.
expose
def
user_projects
(
self
):
return
[
pro
.
name
for
pro
in
cherrypy
.
request
.
user
.
get_projects
()]
@
cherrypy
.
expose
def
user_get_groups
(
self
):
"""
...
...
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