Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
d5f3758f
Commit
d5f3758f
authored
Apr 27, 2012
by
Gary Wong
Browse files
Correct the credential privilege XPath (don't include the root node).
This is a bug fix for yesterday's buggy bug fix.
parent
58844add
Changes
1
Hide whitespace changes
Inline
Side-by-side
protogeni/lib/GeniCredential.pm.in
View file @
d5f3758f
...
...
@@ -519,7 +519,7 @@ sub CreateFromSigned($$;$)
bless
($
self
,
$
class
);
#
Dig
out
the
capabilities
foreach
my
$
cap
(
GeniXML
::
FindNodes
(
'n:
signed-credential/n:
credential/'
.
foreach
my
$
cap
(
GeniXML
::
FindNodes
(
'n:credential/'
.
'n:privileges/n:privilege'
,
$
root
)->
get_nodelist
())
{
my
$
name
=
GeniXML
::
FindElement
(
'n:name'
,
$
cap
);
...
...
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