Ticket #216 (closed Bug)
Creating new documents and acl evaluation
|Reported by:||frank.taffelt@…||Owned by:|
[jira2trac import : issue created on December 1, 2005 5:30:46 AM CET http://issues.cocoondev.org/browse/DSY-216 ]
i have a documenttype named company which has a documentfield named department that is a selection list. This field is marked for acl evaluation and possible values are "sales" and "production" and "marketing".
I wanted to give users special rights for editing such documents. My acl expression for this was documentType = 'company' and $department = 'Sales' where i granted write access to special roles. When i try to create a new document the list with allowed documenttypes misses the company documenttype. I'm not sure how the fieldvalue $department gets evaluated when it has no value in case of creating new documents?