DEFAULT_ATTRPERMS is now public stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 15 Feb 2010 18:36:34 +0100
branchstable
changeset 4586 440e340c61fe
parent 4585 912aba7e6400
child 4587 70d47389630c
child 4598 437867dde236
DEFAULT_ATTRPERMS is now public
schema.py
--- a/schema.py	Mon Feb 15 17:47:50 2010 +0100
+++ b/schema.py	Mon Feb 15 18:36:34 2010 +0100
@@ -921,7 +921,7 @@
 # in yams, default 'update' perm for attributes granted to managers and owners.
 # Within cw, we want to default to users who may edit the entity holding the
 # attribute.
-ybo._DEFAULT_ATTRPERMS['update'] = (
+ybo.DEFAULT_ATTRPERMS['update'] = (
     'managers', ERQLExpression('U has_update_permission X'))
 
 # workflow extensions #########################################################