Policy to read Design and Template Look

Author Message

Andy Caiger

Friday 27 May 2011 11:48:32 pm

How do I give users other than admin permission to read the Design folder and Template Look objects?

I've tried adding the following policies

 
content     read     Class( Template look ) 
content     read     Section( Standard , Media , Setup , Design) 
visual     all functions     No limitations

but I still get a "The system is unable to display the requested page because of security issues." error message.

Any ideas?

 

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Brandon Chambers

Wednesday 01 June 2011 10:05:05 am

Can you explain more as to what you e trying to accomplish?  A multi-site / one installation approach?

Brandon Chambers
brandon@granitehorizon.com
blog: http://blog.divdesigns.com
Granite Horizon / http://granitehorizon.com

Andy Caiger

Thursday 02 June 2011 11:10:32 pm

Hi Brandon, it was me being stupid! The above policies would have worked but I was assigning the role with limitations (it was the standard editor role). Duh! Problem solved by the standard method of going away from it for a few hours and then looking again.

But having said that, I am wanting to have a system with multiple siteaccesses and a Template Look object for each one (so that they can have different logos). How might this be achieved?

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Brandon Chambers

Friday 03 June 2011 9:42:14 am

"

Hi Brandon, it was me being stupid! The above policies would have worked but I was assigning the role with limitations (it was the standard editor role). Duh! Problem solved by the standard method of going away from it for a few hours and then looking again.

"

Hi Andy,

I'm glad you were able to solve that.  :) I was going to suggest the default role/policy way but I didn't know if you were doing something exotic I never encountered.

 

"

But having said that, I am wanting to have a system with multiple siteaccesses and a Template Look object for each one (so that they can have different logos). How might this be achieved?

"

 

That is an excellent question. Greg McAvoy-Jensen, the Executive Director here at Granite Horizon, wrote a tutorial for how to do just that!

Check it out!  :)

http://share.ez.no/learn/ez-publish/lots-of-websites-one-ez-publish-installation-adding-siteaccesses-in-ez-publish/%28language%29/eng-GB

Brandon Chambers
brandon@granitehorizon.com
blog: http://blog.divdesigns.com
Granite Horizon / http://granitehorizon.com

Andy Caiger

Tuesday 14 June 2011 12:51:52 am

Yes, that is an excellent tutorial. I feel his section on multiple language multiple siteaccess eZ Publish setups could be improved with some information on how to switch between language versions. With 2 content trees, each with 2 language versions (so 5 siteaccesses in total including an admin backend) the switchlanguage operator seems to get confused and ends up redirecting to example.com! Somehow it must be reading from the default site.ini, but I can't see how. Everything else works fine.

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

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 00:55:31
Script start
Timing: Jan 18 2025 00:55:31
Module start 'layout'
Timing: Jan 18 2025 00:55:31
Module start 'content'
Timing: Jan 18 2025 00:55:33
Module end 'content'
Timing: Jan 18 2025 00:55:33
Script end

Main resources:

Total runtime1.4125 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.1484152.6406
Module start 'layout' 0.00580.0063 741.789139.4844
Module start 'content' 0.01211.3989 781.2734577.1406
Module end 'content' 1.41110.0014 1,358.414116.1406
Script end 1.4125  1,374.5547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2373160.0002
Check MTime0.00130.0904160.0001
Mysql Total
Database connection0.00070.053010.0007
Mysqli_queries1.346995.3532630.0214
Looping result0.00060.0443610.0000
Template Total1.374397.320.6871
Template load0.00170.119620.0008
Template processing1.372697.170620.6863
Template load and register function0.00010.006310.0001
states
state_id_array0.00120.088410.0012
state_identifier_array0.00290.205720.0015
Override
Cache load0.00140.1026330.0000
Sytem overhead
Fetch class attribute can translate value0.00060.045420.0003
Fetch class attribute name0.00120.081570.0002
XML
Image XML parsing0.00300.211720.0015
class_abstraction
Instantiating content class attribute0.00000.0018100.0000
General
dbfile0.00530.3784220.0002
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
5content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs