User can add location for object where not allowed to create this object?

Author Message

Martin Burger

Wednesday 18 June 2003 9:53:34 am

Hello,

I have a new class named "X". An editor is allowed to create this object only in one selected section.

If he edit an instance of this new class he can add an location where he is NOT allowed to create a new instance, for example in an folder of another section.

I think this is a bug, because using this way an editor is able to create an instance of X where he is not allowed to.

Regards, Martin

http://www.netbeyond.de/

Bruce Morrison

Thursday 19 June 2003 5:44:11 pm

This seems like a bug reported at http://ez.no/developer/ez_publish_3/bug_reports/new_object_can_be_moved_to_a_restricted_node_security

I believe this has been fixed in the latest beta

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Martin Burger

Friday 20 June 2003 4:42:02 am

Do you know where I can get the fix / patch?

Regards, Martin

http://www.netbeyond.de/

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

Main resources:

Total runtime0.0133 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.0040 588.4063152.6875
Module start 'layout' 0.00400.0024 741.093839.5234
Module start 'content' 0.00640.0047 780.617289.3359
Module end 'content' 0.01110.0021 869.953134.3047
Script end 0.0132  904.2578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002216.6792140.0002
Check MTime0.00117.9623140.0001
Mysql Total
Database connection0.00043.188910.0004
Mysqli_queries0.002015.234830.0007
Looping result0.00000.129410.0000
Template Total0.001813.410.0018
Template load0.00086.345410.0008
Template processing0.00097.037110.0009
Override
Cache load0.00064.505810.0006
General
dbfile0.00107.885180.0001
String conversion0.00000.053940.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