[daisy] [JIRA] Resolved: (DSY-216) Creating new documents and acl evaluation

Bruno Dumon (JIRA) issues at cocoondev.org
Fri May 25 08:32:20 CDT 2007


     [ http://issues.cocoondev.org//browse/DSY-216?page=all ]
     
Bruno Dumon resolved DSY-216:
-----------------------------

    Resolution: Fixed

A bug was fixed in the logic of the "and" operator in SVN rev 4023. This bug might also have been the cause of this issue. Will assume it is fixed now, if not the issue can be reopend.

> Creating new  documents and acl evaluation
> ------------------------------------------
>
>          Key: DSY-216
>          URL: http://issues.cocoondev.org//browse/DSY-216
>      Project: Daisy
>         Type: Bug
>     Versions: 1.3
>     Reporter: Frank Taffelt
>     Priority: Minor

>
> 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? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



More information about the daisy mailing list