Permissions based on the Owner of the Parent Node

Author Message

Gabriel Ambuehl

Thursday 21 July 2005 4:06:55 am

I've patched the permission system to allow create,edit,remove if the user is the owner of the parent node.

This feature has often been asked for (especially for community sites) as it allows users to have their own sub trees without any specific sub tree limitation rules.

Screenshot: http://img349.imageshack.us/img349/9681/bigscreenshot5ic.jpg

I'm trying an experiment here: I wasn't beeing paid to do it (I'm a student and essentially did it in my currently somewhat rare spare time) and seeing that a lot of people want this, I'll be asking for donations before releasing it (under the BSDL so eZ can integrate it without any trouble). If this works ok, I might do other things like this in the future.

But first, I'd like to hear any comments on this.

Visit http://triligon.org

Frederik Holljen

Thursday 21 July 2005 4:26:42 am

Looks great to me, we have to review the patch however, before we know if it can go in or not.

Bertrand Dunogier

Thursday 21 July 2005 5:46:11 am

As far as I can see on the screenshot, this is a great feature ! eZ and you have to find a way to have the patch included in the core (if it fits eZ Systems requirements of course) :)

Xavier Dutoit

Sunday 24 July 2005 9:13:49 am

Hi Gabriel,

Nice feature indeed. Could you give more info about the amount you request before releasing the code and so on ?

X+

http://www.sydesy.com

zurgutt -

Monday 25 July 2005 8:54:56 am

Its a much-needed improvement and ransomware is respected way of making income, provided you release it gpl after ransom is paid up and have provided easy way to participate and specified the ransom and amounts you require to get the code right away. I suggest you do so, otherwise the experiment will not work.

Certified eZ developer looking for projects.
zurgutt at gg.ee

Gabriel Ambuehl

Monday 25 July 2005 9:26:30 am

Paypal Link

https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=gabriel_ambuehl%40buz%2ech&item_name=ezpublish%20ParentOwner&no_shipping=0&no_note=1&tax=0&currency_code=USD&charset=UTF%2d8&charset=UTF%2d8

Contribute as much as you want, I'll release it anyway but some cash towards replacing my fried CPU/Motherboard (the noise of my current backup machine drives me crazy rather quickly) and as a sign of appreciation are welcome, of course.

Visit http://triligon.org

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 19:06:42
Script start
Timing: Jan 18 2025 19:06:42
Module start 'layout'
Timing: Jan 18 2025 19:06:42
Module start 'content'
Timing: Jan 18 2025 19:06:42
Module end 'content'
Timing: Jan 18 2025 19:06:42
Script end

Main resources:

Total runtime0.0198 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.0073 588.0391152.6406
Module start 'layout' 0.00730.0034 740.679739.4766
Module start 'content' 0.01070.0068 780.156393.2422
Module end 'content' 0.01750.0023 873.398438.3047
Script end 0.0198  911.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003015.2514140.0002
Check MTime0.00157.5541140.0001
Mysql Total
Database connection0.00147.088310.0014
Mysqli_queries0.003216.345530.0011
Looping result0.00000.096310.0000
Template Total0.00199.410.0019
Template load0.00115.498210.0011
Template processing0.00083.886610.0008
Override
Cache load0.00084.164610.0008
General
dbfile0.00136.781380.0002
String conversion0.00000.050640.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