User policy troubles...

Author Message

Nicklas Lundgren

Monday 10 November 2003 1:25:57 pm

Hi,
I must admit - the user rights part of ez is over my head. At least for the time being.

I have an editor role, specifying access to content * * and user login *.

Can someone please explain why this role allows adding/editing/deleting users??

Does someone have any idea about how to limit the editors access to the user-area of the admin-interface?

Any help appreciated!

Regards
Nicklas Lundgren,
Sweden

Eirik Alfstad Johansen

Tuesday 11 November 2003 2:05:39 am

Hi Nicklas,

Users are a class belonging to the content module. So, when you have unlimited access to this module (content * *), you will be able to edit content objects of all classes. If you were to give a role access to just the users class, you would choose the content module in step 1, select limited access, and further down the road, choose the users class.

Hope that makes sense !

Sincerely,

Eirik Johansen
Netmaking AS

http://www.netmaking.no/

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Nicklas Lundgren

Tuesday 11 November 2003 2:04:46 pm

Alright, Eirik.
Thanks for your reply, now I begin to understand this!
Actually I now have managed to restrict the editors access.

If I may, I have a follow-up on the same subject:

I am building a multisite solution on one eZPublish installation.
I am using sections to separate the different sites.
By assigning the editor-role to a certain section it would be possible to restrict editors from accessing the rootnode in the contentmodule.
But the admin-interface always starts in the /content/view/full/2/
which then the editor has no access to.

I have tried changing this by altering RootNode in content.ini.append, to no avail.

I guess I could code it manually. But it seems like a bad idea.

Any suggestions appreciated,

Regards,
Nicklas Lundgren

Lachy Laycock

Tuesday 25 November 2003 1:39:35 am

I am also interested in getting RootNode to work.
[re: http://ez.no/developer/ez_publish_3/forum/developer/setting_rootnode_and_userrootnode/re_setting_rootnode_and_userrootnode ]

Should a bug be submitted for this?

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 18 2025 19:05:23
Script start
Timing: Jan 18 2025 19:05:23
Module start 'layout'
Timing: Jan 18 2025 19:05:23
Module start 'content'
Timing: Jan 18 2025 19:05:24
Module end 'content'
Timing: Jan 18 2025 19:05:24
Script end

Main resources:

Total runtime0.6925 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 588.9453152.6094
Module start 'layout' 0.00750.0053 741.554739.4141
Module start 'content' 0.01280.6781 780.9688580.3203
Module end 'content' 0.69090.0016 1,361.289112.1875
Script end 0.6925  1,373.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00490.7030160.0003
Check MTime0.00160.2356160.0001
Mysql Total
Database connection0.00120.170710.0012
Mysqli_queries0.618689.3324620.0100
Looping result0.00070.0979600.0000
Template Total0.647593.520.3238
Template load0.00340.490520.0017
Template processing0.644193.012920.3221
Template load and register function0.00020.034210.0002
states
state_id_array0.00210.300810.0021
state_identifier_array0.00210.302120.0010
Override
Cache load0.00300.4349400.0001
Sytem overhead
Fetch class attribute can translate value0.00130.189030.0004
Fetch class attribute name0.00130.182850.0003
XML
Image XML parsing0.00070.103730.0002
class_abstraction
Instantiating content class attribute0.00000.002350.0000
General
dbfile0.00290.4234160.0002
String conversion0.00000.001640.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs