Kill unapproved drafts created by anonymous user

Author Message

paul bolger

Wednesday 17 October 2007 9:34:50 pm

I need to delete objects created by anonymous users which have been refused approval.

At present they return to the anonymous user's draft queue, which one can't (for obvious security reasons) see in the admin interface. They then come back to the approval queue.

Unless there's another way of getting rid of them it occurs to me that granting permission to anonymous users to see and delete drafts (/content/draft) in the siteaccess would do the trick - the only drafts in there should be either items refused approval or 'orphan' drafts, created by anonymous users exiting the edit interface 'disgracefully'.

Does anyone know what roles would be required to allow this to happen?

Paul Bolger

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 31 2025 03:27:19
Script start
Timing: Jan 31 2025 03:27:19
Module start 'layout'
Timing: Jan 31 2025 03:27:19
Module start 'content'
Timing: Jan 31 2025 03:27:19
Module end 'content'
Timing: Jan 31 2025 03:27:19
Script end

Main resources:

Total runtime0.0275 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.2578151.2266
Module start 'layout' 0.00580.0059 739.4844220.7188
Module start 'content' 0.01170.0142 960.2031993.7109
Module end 'content' 0.02590.0016 1,953.914129.9922
Script end 0.0274  1,983.9063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00269.3745140.0002
Check MTime0.00103.6168140.0001
Mysql Total
Database connection0.00082.791710.0008
Mysqli_queries0.004717.032030.0016
Looping result0.00000.076310.0000
Template Total0.00124.310.0012
Template load0.00093.225110.0009
Template processing0.00031.007110.0003
Override
Cache load0.00062.050710.0006
General
dbfile0.00269.272280.0003
String conversion0.00000.036440.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