Wednesday 20 June 2012 6:45:32 pm - 5 replies
I need to give some specific permissions to several users.
Let's figure out a simple situation: I have three arguments on my site (arg1, arg2, arg3); I have a user group called "editor" with several users inside.
I need that user1 will be able to create/edit/remove contents for arg1 and and arg2, while user2 and user3 will be able to create/edit/remove contents for arg1 and and arg3.
I started creating a role called "role_edit" with permissions to create/remove/edit all classes I need. I did not set any subtree for this step.
Than I assigned this role my 3 users, restricting permissions for each one to its own subtree.
And... nothing! The only way to make things works is creating a new role for each subtree and assigning my user to the correct roles... and I have too much cases to manage!
I cannot believe that EZPublish is not able to manage a general role, restricting permissions for every users linked to a specific subtree.
Whant about that?
Thursday 21 June 2012 9:21:41 am
That's what happens.
If I do not set any role permission on a subtree, I cannot access to any function on that subtree, even if I set the correct permissions for my users.
I set this rule:
"content create Class( Folder , Pagina Standard , File , Image , Allegato , Pagina con miniature )"
and then I set this restriction for my user1:
"user1 Subtree: "News" (/1/2/112/)
Now, if I try create something under News, the Create button is not enabled. The only way to make things work is modifying the first rule like that:
"content create Subtree(News), Class( Folder , Pagina Standard , File , Image , Allegato , Pagina con miniature )"
but this method forces me to make a new role for each user, instead of having a common role for all my users and tune it up for each one.
You must be logged in to post messages in this topic!