User management - setting up roles

Author Message

Ola Eirik Klingen

Monday 06 June 2005 4:54:29 am

Hi!

I'm making this site where I try to give the different users different roles. The three main roles are:
- Visitors - people looking at the site
- Editors - People being allowed to edit and create new folders, articles and so on (but NOT allowed to publish)
- Admin - create users, change layout, publishing articles made by others and so on.

I'm struggling with the Editor-role. How can I allow people to create, edit and similar actions, but not allowing them to publish this at the same time? It's only the Admin that should be allowed to do this in this case.

And is it possible that the Admin receive an e-mail each time someone has made a new document or changed a previous one, so that this Admin can choose wether to publish this article or not?

If someone could help me with this, or guide me to some kind of related documentation I would be very thankful.

Mikael Johansson

Thursday 07 July 2005 5:50:16 am

I think you'll want to look at workflows.

Workflows can be used for moderating articles before they are published.

Documentation on workflows:
http://www.ez.no/doc/ez_publish/technical_manual/3_6/concepts_and_basics/workflows

There are some workflows under contributions as well (http://ez.no/community/contribs/workflow)

Mikael Johansson, Sweden

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

Main resources:

Total runtime0.0266 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.0119 589.0313152.6250
Module start 'layout' 0.01190.0044 741.656339.4453
Module start 'content' 0.01630.0070 781.101689.1953
Module end 'content' 0.02330.0033 870.296930.3047
Script end 0.0265  900.6016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003814.3012140.0003
Check MTime0.00165.9069140.0001
Mysql Total
Database connection0.002810.707810.0028
Mysqli_queries0.004316.183230.0014
Looping result0.00000.071810.0000
Template Total0.002910.910.0029
Template load0.00197.144810.0019
Template processing0.00103.765710.0010
Override
Cache load0.00124.480610.0012
General
dbfile0.00031.194880.0000
String conversion0.00000.029640.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