git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
a little nicer wrt pep8
[sfa.git]
/
sfatables
/
matches
/
slice-whitelist.xml
diff --git
a/sfatables/matches/slice-whitelist.xml
b/sfatables/matches/slice-whitelist.xml
index
2489c1c
..
ad3c840
100644
(file)
--- a/
sfatables/matches/slice-whitelist.xml
+++ b/
sfatables/matches/slice-whitelist.xml
@@
-1,4
+1,7
@@
<match name="slice-whitelist">
<match name="slice-whitelist">
- <context select="//request-context/slice@hrn"/>
- <processor filename="slice-whitelist.xsl"/>
+ <!-- Empty context. We _always_ get the hrn of the current user -->
+ <rule element='*'>
+ <context select="//sfa/current/slice@hrn"/>
+ <processor filename="slice-whitelist.xsl"/>
+ </rule>
</match>
</match>