Let a user only purge / restore the articles he has written

Author Message

Jerome Despatis

Friday 02 April 2010 9:31:17 am

Hi

On the front office, I'm listing articles of the user, he can delete them.

I show articles in the trashcan. He can then restore it or purge it

But I've been able to do that by giving the content/restore and content/cleantrash to my user. But I haven't been able to limit these rights to the articles he owns...

Is there a way to do so, and how ?

Thanks

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 10:31:08
Script start
Timing: Jan 18 2025 10:31:08
Module start 'layout'
Timing: Jan 18 2025 10:31:08
Module start 'content'
Timing: Jan 18 2025 10:31:08
Module end 'content'
Timing: Jan 18 2025 10:31:08
Script end

Main resources:

Total runtime0.0134 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.0049 594.7422152.6563
Module start 'layout' 0.00490.0025 747.398439.5078
Module start 'content' 0.00750.0043 786.906385.1953
Module end 'content' 0.01180.0015 872.101630.3047
Script end 0.0133  902.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002317.2175140.0002
Check MTime0.00107.8539140.0001
Mysql Total
Database connection0.00086.130010.0008
Mysqli_queries0.002317.042630.0008
Looping result0.00000.126710.0000
Template Total0.00139.510.0013
Template load0.00064.864710.0006
Template processing0.00064.648810.0006
Override
Cache load0.00053.435310.0005
General
dbfile0.00021.645480.0000
String conversion0.00000.042840.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