Before I called the code above all trees are expandable. When I callled
bo.set("levels", "view,comment,edit,delete,script",context); (script right
goes /after/ delete) all macroses were unworking (can't find a macro error).
Then I changed this call to bo.set("levels",
"view,comment,edit,script,delete",context); (script right goes /before/
delete) and all macroses are working except this document tree - I see
spinning wheel. I think it's directly related to my code above. If I comment
out the code above, document tree macro works as expected but I don't have
delete right by default.



--
View this message in context: 
http://xwiki.475771.n2.nabble.com/How-to-grant-Delete-Right-for-all-registered-users-via-java-API-tp7599456p7599486.html
Sent from the XWiki- Dev mailing list archive at Nabble.com.
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to