Allowing Editor role to create/edit/remove Editors

Author Message

Chris Lukenbill

Friday 20 July 2007 1:53:53 pm

This is something I haven't set up before and can't figure out how to do. The editors need to be able to create, edit and remove other editors.

So I have the following policies set on the Editor role that I thought would be enough. (this is a subset of the policies that reference this functionality)

Content --> read --> no limitiations

Content --> create --> Subtree( Editors ) , Class( User group , User )

Content --> edit --> Subtree( Editors ) , Class( User group , User )

Content --> remove --> Subtree( Editors ) , Class( User group , User )

Let me know what else I would need.

Thanks!

Chris

André R.

Monday 23 July 2007 4:20:34 am

Could you elaborate on what the problem is?
Aren't they allowed to read the editors subtree ? (meybee they need to read the user node as well?)
Create editors?
Edit editors?
Delete editors?

Did you remember to logout and in again with the editor you are testing with when doing the role change ? (alt. cleared user cache)

And what version are you running?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Chris Lukenbill

Monday 23 July 2007 7:08:07 am

The issue is that I need the people that are in the "Editors" user group, which are have the "Editor" role assigned to them, to be able to create editors, edit editors and also delete editors.

From what I can tell I have added all the rights to the "Editor" role, that they would need.

They have the policies assigned that I explained above, including one I forgot to mention, which is user --> all functions --> no limitations

I have cleared cache by both logging out and back in and also by clearing all cache from the admin.

Currently I am running this site on 3.9.0, but am changing that to 3.9.2 here after I get done writing this post.

André R.

Monday 23 July 2007 7:34:49 am

You misunderstand, I know what you want (that the editors can add/edit/delete other editors).
But I don't know what kind of error message you get, and what you try to do when you get them.

For instance, if you log in with a editor are you allowed to browse the user area? (probably not since you didn't mention any read rights to the 'Users' node as mentioned above)

If not try going directly to /users/editors
If you have access to that url, try modifying / adding / deleting a user.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Chris Lukenbill

Monday 23 July 2007 7:52:34 am

Sorry, I guess I misunderstood your last post.

When I try to access the "User accounts" tab with the editor (and also try browsing directly to "/users/editors") I receive the following default error:

<b> The requested page could not be displayed. (1)
The system is unable to display the requested page because of security issues.

Possible reasons:

Your account does not have the proper privileges to access the requested page.
The requested page does not exist. Try changing the URL. </b>

Jon Staines

Friday 30 May 2008 6:40:24 am

In case anybody else encounters this error here is what I found fixed it. At the bottom of the Editor's role page you will see a section titled:

  Users and groups using the <Editor> role

By default this is set to Editors with limitations of Subtree (/1/2/) and Subtree (/1/43/) which are your Content and Media parts. Add a new assignment with limitations for Editors in the Users section which is Subtree (/1/5/).

So long as you have permissions like those mentioned in the above posts (read access on the Users part you need) you should now be able to access the Users section as an Editor.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 04:26:54
Script start
Timing: Jan 19 2025 04:26:54
Module start 'layout'
Timing: Jan 19 2025 04:26:54
Module start 'content'
Timing: Jan 19 2025 04:26:55
Module end 'content'
Timing: Jan 19 2025 04:26:55
Script end

Main resources:

Total runtime0.9717 sec
Peak memory usage4,096.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 589.2891152.6406
Module start 'layout' 0.00690.0033 741.929739.4922
Module start 'content' 0.01020.9599 781.4219620.0781
Module end 'content' 0.97010.0016 1,401.500016.1250
Script end 0.9717  1,417.6250 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4008160.0002
Check MTime0.00150.1591160.0001
Mysql Total
Database connection0.00080.084310.0008
Mysqli_queries0.902792.8897680.0133
Looping result0.00080.0786660.0000
Template Total0.934396.220.4672
Template load0.00240.249820.0012
Template processing0.931995.898820.4659
Template load and register function0.00010.014910.0001
states
state_id_array0.00150.155410.0015
state_identifier_array0.00100.105120.0005
Override
Cache load0.00210.2159480.0000
Sytem overhead
Fetch class attribute can translate value0.00060.061630.0002
Fetch class attribute name0.00090.093180.0001
XML
Image XML parsing0.00120.120330.0004
class_abstraction
Instantiating content class attribute0.00000.001890.0000
General
dbfile0.00300.3057230.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs