--- a/schema.py Mon Feb 15 15:05:15 2010 +0100
+++ b/schema.py Mon Feb 15 15:10:25 2010 +0100
@@ -919,6 +919,11 @@
kwargs['o'] = toeid
return self._check(session, **kwargs)
+# 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'] = (
+ 'managers', ERQLExpression('U has_update_permission X'))
# workflow extensions #########################################################