Activation of node may lead to "activation failed" when switching users.
------------------------------------------------------------------------

                 Key: MGNLDATA-79
                 URL: http://jira.magnolia-cms.com/browse/MGNLDATA-79
             Project: Magnolia Data Module
          Issue Type: Bug
         Environment: Magnolia 4.1.1 with corresponding Data Module, Mac OS X 
10.5.8, Java 1.5, Tomcat 5.5
            Reporter: Andreas Weder
            Assignee: Philipp Bärfuss


When I activate a particular node in the Data Module as one user, then edit the 
node as different user and try to activate again, I get a JavaScript alert box 
telling me that the "user is not allowed to add,edit,delete" a node at that 
level on my public instance. When I deactivate that node with the same user, 
then activate again, everything works fine.

I have my editor role defined such that users have read/write access to 
/contacts in the data repository on node and subnode level.

How to reproduce (can't really try that with the demo version, since we only 
can login as "superuser"):
- define a editor role and assign r/w rights on node and subnode level on 
/contacts in data repository
- assign that editor role to user a and user b (I actually defined a group, 
assigned the role to that group, then the group to user a and b).
- log in as user a (e.g. superuser), go to the data module, activate one 
content.
- log in as user b, change something in the same node, then try to activate -> 
the JS alert box appears and activation has failed.
- as user b, first de-activate the node, then activate it again -> no error and 
activation was successful

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



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to