Forums / Install & configuration / Attribute based permissions ?

Attribute based permissions ?

Author Message

Nabil Alimi

Wednesday 02 February 2011 3:54:55 am

Hi,

I've got a quite simple issue. I've searched ressources for that but no succes. I'd like to define the content to which an user has access based on an attribute (object relation) of the group he belongs too so it can be dynamic.

Simple example, i have user group "tennis".

In my content tree, I have

Sport

-- Tennis

i'd like to have a relation object in the tennis user group so i can match my group with the content tree node.

My blog : http://www.starnab.com/ezpublish / http://www.starnab.com/ / http://www.assiki-consulting.com
eZ Publish Freelance developper. Feel free to contact me +33 674 367 057
nabil at assiki d0t fr

Ivo Lukac

Wednesday 02 February 2011 4:00:58 am

I advise you to make a simple workflow (triggered by the publish of the object with relation) which will add a policy for the user.

Look at this extension for the code: http://projects.ez.no/personal_folder

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

Ivo Lukac

Wednesday 02 February 2011 4:02:02 am

"

Look at this extension for the code: http://projects.ez.no/personal_folder

"

Forgot to emphasize that this is a very old project (PHP4) so you will need to adopt it for new ez versions and PHP5

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac