Multi site - Limit access to other siteaccess

Author Message

Stéphane Cloutier

Wednesday 07 July 2004 7:09:31 pm

In a multi site environment, how can one limit the access from the admin interface to the other siteaccesses not relevant to oneself website ?

Is this the main difference between the administrator and the editor ?

Or is there another way of configuring ezp to allow multi independant sites without overlapping the siteaccesses ?

Qupanuaq - Snow bunting

Alex Jones

Thursday 08 July 2004 6:58:23 am

Set up each site as a separate Section and create an editor role for each site. Then assign the new roles edit access only to the section that they are associated with. That should keep the sites separate, while ensuring your admin login is still able to control everything. If you need more control, you could set up a couple of different roles per site, providing each withdifferent levels of access.

Does this help?

Alex
bald_technologist on the IRC channel: #eZpublish
http://www.agrussell.com :: http://www.cuttingedge.com

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Stéphane Cloutier

Friday 09 July 2004 6:05:37 am

The section solution would be good when using only one database. Correct? My configuration implies different database for each site. I'm more thinking of a super administrator that would be able to modify global ini system settings for all sites at once. The second level would be for administrators to be able to change only ini settings related to their sites. The question is: can one see its own siteacccess through ezp without seing any of the other siteaccesses on the server? Is there a way to restrict access to some siteaccess?

Qupanuaq - Snow bunting

Stéphane Cloutier

Friday 09 July 2004 12:15:11 pm

Here is an example of the problem: all administrators from different sites, although they have each their own userID and Password, their own siteaccess and database, anyone could actually access the Common INI Settings, the Toolbar Management the Menu management and the INI Settings from others siteacccess and change them at will! How can we prevent that?

Qupanuaq - Snow bunting

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 07:11:17
Script start
Timing: Jan 19 2025 07:11:17
Module start 'layout'
Timing: Jan 19 2025 07:11:17
Module start 'content'
Timing: Jan 19 2025 07:11:18
Module end 'content'
Timing: Jan 19 2025 07:11:18
Script end

Main resources:

Total runtime0.8509 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 589.4063152.6563
Module start 'layout' 0.00530.0024 742.062539.5078
Module start 'content' 0.00770.8416 781.5703551.9141
Module end 'content' 0.84930.0015 1,333.484412.1094
Script end 0.8508  1,345.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4057160.0002
Check MTime0.00150.1778160.0001
Mysql Total
Database connection0.00080.094710.0008
Mysqli_queries0.793893.2975600.0132
Looping result0.00050.0599580.0000
Template Total0.824496.920.4122
Template load0.00200.240920.0010
Template processing0.822396.646220.4112
Template load and register function0.00020.023510.0002
states
state_id_array0.00080.091810.0008
state_identifier_array0.00130.147420.0006
Override
Cache load0.00170.1979200.0001
Sytem overhead
Fetch class attribute can translate value0.00060.069820.0003
Fetch class attribute name0.00100.118160.0002
XML
Image XML parsing0.00640.755420.0032
class_abstraction
Instantiating content class attribute0.00000.002180.0000
General
dbfile0.00610.7172220.0003
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
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 16
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs