New editor with subtree limitation

Author Message

Carlo Sacripante

Wednesday 15 June 2005 8:22:53 am

Hi all,

I need to create an user who is able to log in and edit (and read) only a subtree of my site. How can I do that?

home
|
|-Document
|
|-SubFolder
| |
| |-News no1
| |-News no2
|
|-Media
|
|-Other...

I want he (or she) is able to see & edit only the subfolder:

SubFolder
|
|-News no1
|-News no2

I tried more than once to change the editor group roles but it isn't so easy...

Thanx

Carlo Sacripante

Monday 20 June 2005 7:20:56 am

someone can help me?!

Daniel Beyer

Monday 20 June 2005 3:28:57 pm

Hi,

login with your admin-account to your admin-interface (eg. index.php/admin) and then:

1. Click on "Setup" in the main navigation
2. Click on "Roles and policies" in the left subnavigation
3. Click on "New role"
4. Give the Role a name an ckick then on "New policy"
4. Coose module "content"
6. Click on "grant acces to one function"
7. Coose function "read"
8. Select class, section, owner if necessary
9. Select the subtree (in your case "SubFolder") by clicking on "Add subtree"
10. Click on "OK"

Repeat steps 4-10 for module "content" and the following functions:
-create
-edit

And if there is need to:
-move
-hide
-translate
-remove
-pdf
-translations

After your done click on "Ok" to store the role. And then on "Assign" to assign the role to a usergroup or a single user.

Daniel Beyer
_________________________________
YMC AG
Kreuzlingen, Switzerland
web: www.ymc.ch
____________________________________

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

Main resources:

Total runtime1.0044 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.0391152.6406
Module start 'layout' 0.00510.0024 740.679739.4766
Module start 'content' 0.00760.9951 780.1563540.4219
Module end 'content' 1.00270.0017 1,320.578112.1406
Script end 1.0044  1,332.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3546160.0002
Check MTime0.00130.1316160.0001
Mysql Total
Database connection0.00060.055910.0006
Mysqli_queries0.952594.8287570.0167
Looping result0.00050.0514550.0000
Template Total0.970296.620.4851
Template load0.00180.178620.0009
Template processing0.968496.415420.4842
Template load and register function0.00020.016410.0002
states
state_id_array0.00080.078410.0008
state_identifier_array0.00240.237620.0012
Override
Cache load0.00160.1558510.0000
Sytem overhead
Fetch class attribute can translate value0.00050.047520.0002
Fetch class attribute name0.00100.095740.0002
XML
Image XML parsing0.00100.095220.0005
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00150.1497160.0001
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
3content/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
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs