Forums / Setup & design / Role with limits, problem with Media

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Role with limits, problem with Media

Author Message

Marcin N.

Monday 18 December 2006 2:00:20 am

Hi!

I try to set some special roles and policies for my folders
_welcome [folder] [read, edit]
____about [folder] [read, edit]
____news [folder] [read, edit, create Articles, remove]
______news2.1 [article]
______news2.2 [article]
____contact [folder] [read, edit]

Media [folder] [read, edit, create, remove] - possibility to upload and add images in content.

I created Roles:
<b>Module Function Limitations</b>
user login No limitations
content edit Subtree( welcome )
content read Subtree( welcome )
content create Subtree( news ) , Class( Article )
content remove Subtree( news ) , Class( Article )
layout all functions No limitations
ezdhtml all functions No limitations
ezinfo all functions No limitations
content read Subtree( Media )
content edit Subtree( Media )
content create Subtree( Media )
content remove Subtree( Media )

Roles works for folders BUT I can't add image from Media folder. I click "Insert Object" in article or folder editor. I see pop-up. Then I click "Add existing" button. Works OK, I see my tree structure. Then I click "Back" (button with up arrow) to go to the root where is Media folder and I get: "The requested page could not be displayed (1)" and some script error from url: "/layout/set/dialog/content/browse/1"

My question is: how to set roles and policies to make it possible???

My next question is: is it possible (in my example) to make active only "Content Structure" and "Media Library" tab??? The other one user can't click.

Thanks for help!

Marcin