This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Install & configuration » Attribute based permissions ?

Attribute based permissions ?

Attribute based permissions ?

Wednesday 02 February 2011 12:54:55 pm - 2 replies


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


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

Wednesday 02 February 2011 1:00:58 pm

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:

Wednesday 02 February 2011 1:02:02 pm

Look at this extension for the code:

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


You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from