Forums / General / Permissions based on the Owner of the Parent Node

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

eZ debug

Timing: Jan 18 2025 19:14:47
Script start
Timing: Jan 18 2025 19:14:47
Module start 'content'
Timing: Jan 18 2025 19:14:47
Module end 'content'
Timing: Jan 18 2025 19:14:48
Script end

Main resources:

Total runtime0.7689 sec
Peak memory usage4,096.0000 KB
Database Queries209

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0069 587.8359180.8203
Module start 'content' 0.00690.6171 768.6563684.3203
Module end 'content' 0.62410.1448 1,452.9766337.3750
Script end 0.7688  1,790.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5252210.0002
Check MTime0.00140.1859210.0001
Mysql Total
Database connection0.00090.112910.0009
Mysqli_queries0.683388.86512090.0033
Looping result0.00260.34102070.0000
Template Total0.740396.320.3701
Template load0.00230.294920.0011
Template processing0.738095.980320.3690
Template load and register function0.00020.027810.0002
states
state_id_array0.00120.157810.0012
state_identifier_array0.00160.206220.0008
Override
Cache load0.00200.2553250.0001
Sytem overhead
Fetch class attribute can translate value0.00110.141360.0002
Fetch class attribute name0.00160.207190.0002
XML
Image XML parsing0.00240.309660.0004
class_abstraction
Instantiating content class attribute0.00000.003190.0000
General
dbfile0.00610.7878400.0002
String conversion0.00000.001230.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs