Saturday 28 February 2004 5:19:28 am
Hi, I try to start again a discussion about the role system after digging in the code of ez 3.4-alpha1. Example: I create a role "registered user".
The registered user should
-) create forum messages in section a -) create link entries in section b So I created two policies. The "registered user" can't create a link entry in section b, because the checkAccess-method of ezcontentobject always returns "not allowed". (It checks only the first policy and break after that.)
If I made one policy instead of two -) create forum messages / link entries in section a, b it works. But in that case it's also possible for the user to create a link entry in section a which I want to prevent. So I don't know if it's a bug or a feature. If you have many content classes & sections it's more user friendly to create a policy for each content class.
Kind regards, Emil.
Best wishes,
Georg.
--
http://www.schicksal.com Horoskop website which uses eZ Publish since 2004
|