How to assign section to content?

Author Message

Aleksander Lech

Friday 24 February 2006 2:40:58 am

Hi
I wonder if its possible: I prepared user roles with edit permission to some section. I need to assign content to section different than default. And it should be done automatically.

As far as I understand, use of sections is the only way to implement possibility of editing content by group members instead of owners only. I have a folder with articles - folder contents are created by members of different groups - so I need to create several setions in this folder, and assign edit permission to this sections. Content i created in section according to folders node, so I need to change section on create.

I hope somebody do understand this :)

Aleksander

Arran Price

Tuesday 28 February 2006 2:04:25 pm

Hi Aleksander,
I am having a little trouble understanding what you are asking but....
You can apply permissions on nodes or subtrees as well as sections, So you dont typically need to use sections (sometimes it may be the right way to go and others it may not).
You may find that setting up a role per subtree may accomplish what you are after.

Hope thats of some help.

Arran

Aleksander Lech

Wednesday 01 March 2006 1:48:47 am

Hi Arran,
my problem is that I have a folder where every editors can create content. Editors belong to different groups - so what's the way to give editors of one group permission to edit content created by their group member.

Subtree or node doesn't work because content is in one folder without any subfolders.

Sections doesn't work too because content is created in parent 's section by default. I can't assing edit permission to parent section, cuz other user will have perrmisions to edit too many content.

So I thought that I'll create sections inside folder, for every editor group, and then give them permissions to edit content in this sections. Unfortunately I can's see the way to assign given section to content automatically.

Unfortunately, there is not something like permission to edit any content which belongs to some group of users :(

Aleksander

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

Main resources:

Total runtime0.0157 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 587.9141152.6250
Module start 'layout' 0.00570.0029 740.539139.4453
Module start 'content' 0.00860.0049 779.984489.1953
Module end 'content' 0.01350.0022 869.179734.3047
Script end 0.0157  903.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002717.1389140.0002
Check MTime0.00127.6298140.0001
Mysql Total
Database connection0.00074.549010.0007
Mysqli_queries0.002616.641430.0009
Looping result0.00000.083410.0000
Template Total0.001811.210.0018
Template load0.00095.745810.0009
Template processing0.00085.383310.0008
Override
Cache load0.00063.951410.0006
General
dbfile0.00031.868880.0000
String conversion0.00000.044040.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