eZ as a CMS for Multiple User Groups?

Author Message

Eric Weik

Tuesday 20 May 2003 4:18:35 am

Hi all,

I am currently evaluating existing systems and development frameworks to allow a small ISP to give users the ability to edit selected content on their Web sites. Most of these Web sites already exist and have a small number of elements that need to change (i.e. "whats new" pages, portfolios, etc.), and often use Flash to generate the content.

What we are looking to build is a way for users to log in to a simple CMS, and be presented with a limited number of items they can change. The sites themselves would ideally simply pull data from the CMS via XML (it needs to be cross-platform since target sites can be PHP, ASP, or CFM). So in this context eZ would be used as a back-end only and some custom output applications would be built using eZSOAP and/or eZXML to feed content to the live sites.

eZPublish is by far the most robust system we have looked at for this project. However, I cannot figure out if it is possible to assign user accounts and/or roles in such a way as to hide user accounts from each other. My dream scenario would be this:
I set up a new group with three users. Those three users would be able to edit content (but not templates) that belong to that group. No problem with eZ. But I would also like to set it up so that those three users could not even see the content that doesn't belong to that group.

Obviously this could be set up by having multiple installs of eZ (one for each group/client). But setup time is increased in this case, and involves system administration time as well. Is it possible to deploy a single eZpublish system in such a way, or should we look at building a custom system using the eZPublish modules as a framework?

Any comments and/or suggestions are appreciated.

Thanks,
Eric

Jo Henrik Endrerud

Tuesday 20 May 2003 10:37:48 am

Hi Eric

This of course possible :)

The way you do this is by assigning sections. You mark one part of the site (a node with all sub-nodes) as one section. You can then set up a policy for this user group to only allow these people to have read access inside this section. Then all content in all other sections are completly hidden from these users.

Jo Henrik Endrerud | System Developer @ Seeds Consulting | http://www.seeds.no

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 11:22:27
Script start
Timing: Jan 18 2025 11:22:27
Module start 'layout'
Timing: Jan 18 2025 11:22:27
Module start 'content'
Timing: Jan 18 2025 11:22:29
Module end 'content'
Timing: Jan 18 2025 11:22:29
Script end

Main resources:

Total runtime1.6979 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 587.9375152.6250
Module start 'layout' 0.00530.0034 740.562539.4453
Module start 'content' 0.00871.6877 780.0078523.6250
Module end 'content' 1.69640.0014 1,303.632812.1563
Script end 1.6978  1,315.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.2216160.0002
Check MTime0.00160.0946160.0001
Mysql Total
Database connection0.00070.039110.0007
Mysqli_queries1.645696.9231540.0305
Looping result0.00060.0377520.0000
Template Total1.657197.620.8286
Template load0.00210.122020.0010
Template processing1.655197.477520.8275
Template load and register function0.00020.014510.0002
states
state_id_array0.00080.045510.0008
state_identifier_array0.00390.231120.0020
Override
Cache load0.00170.1002170.0001
Sytem overhead
Fetch class attribute can translate value0.00050.031520.0003
Fetch class attribute name0.00140.084330.0005
XML
Image XML parsing0.00290.172220.0015
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00320.1877160.0002
String conversion0.00000.000540.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs