Multisite: Hiding subtrees based on users

Author Message

Valentin Svelland

Wednesday 02 January 2008 3:03:52 am

I'm running a multisite-configuration (eZp v.3.9.4) and would like to hide subtrees without redirecting user on logon or forcing subtree via siteaccess.

This should be easy adding a new role and including necessary subtree but for some reason I always get insufficient permissions when trying to log on. The usual bug here would be forgetting to add the main topnode, but this is included.

An even tidier way would be to define a new section and then limiting the Editor-role to this for a given set of users. Wouldn't work eithar.

This problem could be related to possible bug in eZp after adding new section (section id=7).

Anyways; could anyone give me a tested step-by-step-guide on how to give a Editor-user access to only two subtrees in the content tree, and still be able to logon without redirecting or siteaccess-policies node-level.

------------------------
I made eZ run on www.eigersund.kommune.no, bjerkreim.kommune.no, lund.kommune.no and sokndal.kommune.no. Municipalities should use open source!

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 15:03:54
Script start
Timing: Jan 18 2025 15:03:54
Module start 'layout'
Timing: Jan 18 2025 15:03:54
Module start 'content'
Timing: Jan 18 2025 15:03:54
Module end 'content'
Timing: Jan 18 2025 15:03:54
Script end

Main resources:

Total runtime0.0140 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.1797152.6406
Module start 'layout' 0.00530.0026 741.820339.4766
Module start 'content' 0.00790.0042 781.296989.2734
Module end 'content' 0.01210.0018 870.570330.3047
Script end 0.0139  900.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002517.9546140.0002
Check MTime0.00118.1389140.0001
Mysql Total
Database connection0.00074.988110.0007
Mysqli_queries0.002215.711430.0007
Looping result0.00000.078510.0000
Template Total0.001510.810.0015
Template load0.00085.731810.0008
Template processing0.00075.051210.0007
Override
Cache load0.00064.121510.0006
General
dbfile0.00064.486580.0001
String conversion0.00000.049540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs