git://git.onelab.eu
/
sfa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4e3a51
)
exit the look when we've found what we're looking for (Thanks Aaron)
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 23 Jun 2011 19:13:14 +0000
(15:13 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Thu, 23 Jun 2011 19:13:14 +0000
(15:13 -0400)
sfa/trust/rights.py
patch
|
blob
|
history
diff --git
a/sfa/trust/rights.py
b/sfa/trust/rights.py
index
ff1ac2d
..
14749cb
100644
(file)
--- a/
sfa/trust/rights.py
+++ b/
sfa/trust/rights.py
@@
-220,6
+220,7
@@
class Rights:
for my_right in self.rights:
if my_right.is_superset(child_right):
allowed = True
+ break
if not allowed:
return False
return True