Editor - Roles and Permission

Author Message

John Smith

Friday 14 July 2006 2:22:06 am

hi there,

Hope some one can help me.

As a default in ezpublish installation, the editor roles and permission are:

Policies

Content - all functions - No limitations
User - login - No limitations

Assigned to subtrees

Editor - Subtree(/1/2/)
Editor - Subtree(/1/43/)

In my problem, i dont want to show whole categories under the Main Node(/1/2/). Just only one folder when the editor login. I assigned the Editor based on subtrees as

Editor - Subtree(/1/2/Node Id of the folder/)
Editor - Subtree(/1/43/)

But when i login as editor I am getting access denied errors in the content tab. Is it a bug or it meant to be like that.

Smith

Jeroen Sangers

Friday 14 July 2006 7:52:47 am

After logging in, you are usually redirected to the root node of your site, in this case /1/2/. In your case editors no longer have access to this node, hence the error.

John Smith

Friday 14 July 2006 8:27:11 am

Thanks for the kind reply.

So what is the best way to solve the problem?

Smith

Marcin Drozd

Friday 14 July 2006 9:55:27 am

Hi
I think U can create new siteaccess ex. site4editor (copy admin siteacces)
and in site.ini change:
[SiteSettings]
IndexPage=/content/view/full/YOUR_NODE_ID/
DefaultPage=/content/view/full/YOUR_NODE_ID/
[DesignSettings]
SiteDesign=admin
and add
[SiteAccessSettings]
AvailableSiteAccessList=site4editor

change content.ini file:
[NodeSettings]
RootNode=YOUR_NODE_ID

I'm not sure that's all but I belive :)

http://ez-publish.pl

Marcin Drozd

Friday 14 July 2006 10:02:46 am

And remember to add policy (login to site4editor) for editors group (user->login->SiteAccess(site4editor))

http://ez-publish.pl

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 20 2025 06:41:34
Script start
Timing: Jan 20 2025 06:41:34
Module start 'layout'
Timing: Jan 20 2025 06:41:34
Module start 'content'
Timing: Jan 20 2025 06:41:35
Module end 'content'
Timing: Jan 20 2025 06:41:35
Script end

Main resources:

Total runtime0.7523 sec
Peak memory usage4,096.0000 KB
Database Queries65

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 590.2891152.6250
Module start 'layout' 0.00800.0034 742.914139.4453
Module start 'content' 0.01130.7394 782.3594590.3906
Module end 'content' 0.75080.0016 1,372.750012.1641
Script end 0.7523  1,384.9141 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4840160.0002
Check MTime0.00150.2051160.0001
Mysql Total
Database connection0.00160.208810.0016
Mysqli_queries0.690991.8370650.0106
Looping result0.00050.0727630.0000
Template Total0.720595.820.3603
Template load0.00240.314720.0012
Template processing0.718295.456220.3591
Template load and register function0.00020.031710.0002
states
state_id_array0.00070.097210.0007
state_identifier_array0.00120.163020.0006
Override
Cache load0.00190.2533420.0000
Sytem overhead
Fetch class attribute can translate value0.00070.086730.0002
Fetch class attribute name0.00120.165760.0002
XML
Image XML parsing0.00130.167630.0004
class_abstraction
Instantiating content class attribute0.00000.001860.0000
General
dbfile0.00100.1282160.0001
String conversion0.00000.001240.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
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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/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.0002 secs