Forums / Setup & design / My new Role can't create content (Access denied)

My new Role can't create content (Access denied)

Author Message

Adolfo Barragán

Friday 05 September 2003 3:04:07 am

I've created a new role but when I press "new" button I receive "Access denied".

My site has two sections: "guests" and "catalog". In the same way the site has two folder under roor: "guest" and "catalog". I've created two new class "category" and "product".

I want supervisors only can create "categories" or "products" under section (or folder) "catalog". So I created a new Role "supervisor" and assign it the following policies:

user : login : *
content : read : *
content : create : Class(Category , Product) , Section(Catalog)
content : edit : Class(Category , Product) , Section(Catalog)
content : remove : Class(Category , Product) , Section(Catalog)

I create a "supervisor" and a "supervisors" group, and I assign to role "supervisor"

When I login as supervisor I go to catalog folder, I only see in select box "category" and "product". Ok, but... If I press the "create here" button I receive an Access denied message.

What I wrong?

Thanks in advance

Volker Lenz

Saturday 06 September 2003 3:17:03 am

Check your site access rules in your site.ini.append files. Maybe you have set a module-based restricition that prevents you from creating content at all.

Adolfo Barragán

Monday 08 September 2003 3:09:34 am

No, my site access rule entries are the standard.

Jesper Haggren

Tuesday 09 September 2003 1:46:18 pm

hi there.

I am sitting here with the exact same problem. my problem:

I have a folder called products.
In this folder i have created an object of type:manufactor (my own content class).
Under this manufactor-object I have created a new object of type:device (own content class).

Now I trying to make a user, eg. role which have acces to create manufactors in the folder, and devices under manufactors. roles:

user login *
content read *
content create Subtree( products ) class(manufactors) parentClass(folder)
content create Subtree( products ) class(devices) parentClass(manufactors)
content edit Class( manufactors , devices )

THIS DOES NOT WORK....
When I click "create here" I get an access denied error.
I have discovered that if I change the edit role to:

content edit *

...is works!... but then the user has access to edit all kinds of objects.. both articles etc. in the entire section..

is this an eZ3.1 bug.. or am I doing anything wrong??

Jesper Haggren
zolid I/S

Jesper Haggren

Tuesday 09 September 2003 2:50:49 pm

just made a clean install of the eZ3.2 b2... looks like they have fixed the problem there..

If only eZ3.2 b2 did'nt have so many other broken bugs.. like the sitemap (Module not found) and the login with the unfinished </-error which makes login required twice!

I'm still very interested in a bugfix for the problem for eZ3.1

jesper