git://git.onelab.eu
/
unfold.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Project request: authority under which the project is requested not the one of the...
[unfold.git]
/
portal
/
projectrequestview.py
diff --git
a/portal/projectrequestview.py
b/portal/projectrequestview.py
index
69941b3
..
3d749c8
100644
(file)
--- a/
portal/projectrequestview.py
+++ b/
portal/projectrequestview.py
@@
-140,7
+140,7
@@
class ProjectRequestView(LoginRequiredAutoLogoutView, ThemeView):
if not errors:
logger.info("is_pi on auth_hrn = {}".format(user_authority))
if not errors:
logger.info("is_pi on auth_hrn = {}".format(user_authority))
- if is_pi(wsgi_request, user_hrn,
user_authority
):
+ if is_pi(wsgi_request, user_hrn,
post['authority_hrn']
):
# PIs can directly create/join project in their own authority...
if 'join' in wsgi_request.POST:
# join existing project
# PIs can directly create/join project in their own authority...
if 'join' in wsgi_request.POST:
# join existing project