git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Registration and Join for Authority using Manifold query and the corresponding Metada...
[myslice.git]
/
portal
/
actions.py
diff --git
a/portal/actions.py
b/portal/actions.py
index
3479c02
..
3a5fcbc
100644
(file)
--- a/
portal/actions.py
+++ b/
portal/actions.py
@@
-321,13
+321,14
@@
def portal_validate_request(wsgi_request, request_ids):
# XXX tmp sfa dependency
from sfa.util.xrn import Xrn
urn = Xrn(hrn, request['type']).get_urn()
# XXX tmp sfa dependency
from sfa.util.xrn import Xrn
urn = Xrn(hrn, request['type']).get_urn()
-
+
+ # Only hrn is required for Manifold Query
sfa_authority_params = {
sfa_authority_params = {
- 'hrn' : hrn,
-
'
urn' : urn,
- 'type' : request['type'],
+ '
authority_
hrn' : hrn,
+
#'authority_
urn' : urn,
+
#
'type' : request['type'],
#'pi' : None,
#'pi' : None,
- 'enabled' : True
+
#
'enabled' : True
}
print "ADD Authority"
sfa_add_authority(wsgi_request, sfa_authority_params)
}
print "ADD Authority"
sfa_add_authority(wsgi_request, sfa_authority_params)