allow suppressing of security propagation via noPropagateSecurity option

This commit is contained in:
Helmut Merz 2013-05-22 15:08:24 +02:00
parent ce22ab2a4b
commit 12ee37881d
3 changed files with 20 additions and 0 deletions

View file

@ -59,6 +59,15 @@ textarea {
margin-top: 0.5em;
}
/* elements taken from blueprint (Lobo) skin */
.span-1, .span-2, .span-3, .span-4, .span-5, .span-6 {float: left;}
.span-1 {width: 105px;}
.span-2 {width: 230px;}
.span-3 {width: 355px;}
.span-4 {width: 480px;}
.span-5 {width: 605px;}
.span-6 {width: 730px;}
table.listing {
margin: 1px;
margin-top: 6px;

View file

@ -82,6 +82,15 @@ table {
margin-top: 0.5em;
}
/* elements taken from blueprint (Lobo) skin */
.span-1, .span-2, .span-3, .span-4, .span-5, .span-6 {float: left;}
.span-1 {width: 105px;}
.span-2 {width: 230px;}
.span-3 {width: 355px;}
.span-4 {width: 480px;}
.span-5 {width: 605px;}
.span-6 {width: 730px;}
tr.even td {
background-color: transparent;
}

View file

@ -231,6 +231,8 @@ class ConceptSecuritySetter(LoopsObjectSecuritySetter):
setter.propagateSecurity(revert, updated)
def propagateSecurity(self, revert=False, updated=None):
if self.globalOptions('noPropagateSecurity'):
return
if updated is None:
updated = set()
obj = self.baseObject