[symfony-users] Re: plugin development idea

2009-04-14 Thread maxim.oleinik
I wrote my simple Route which throws 404 if owner is not current user. # rule event_delete: url: /event/:id class:myObjectOwnerRoute options: { model: Event, type: object, owner_column: user_id } param:{ module: event, action: delete } requirements: id: \d+ sf_meth

[symfony-users] Re: plugin development idea

2009-04-11 Thread naholyr
Sorry to auto-promote my work here, but you should take a look at sfPropelActAsSignableBehaviorPlugin, which is less limited than the one you quoted : supports create_by, updated_by, deleted_by which relies on Paranoid behavior, and does not require it to be a foreign key as users can be deleted i

[symfony-users] Re: plugin development idea

2009-04-11 Thread Lee Bolding
LOL, apologies for that - my mac just had a fit after a power cut, and it's reset the date on all of my mails to today :-/ On this subject though - can anybody recommend a UPS that plays well with Macs with auto shutdown? On 11 Apr 2009, at 17:45, Lee Bolding wrote: > > In the Doctrine cook

[symfony-users] Re: plugin development idea

2009-04-11 Thread Lee Bolding
In the Doctrine cookbook, there is (or was) an example of a Doctrine template that provides access restrictions to records based on permissions. That's probably a good place to start :) On 11 Aug 2008, at 18:14, Dmitry Nesteruk wrote: > can you describe this plugin? what is functionality th

[symfony-users] Re: plugin development idea

2008-09-04 Thread Florian
Hi, totally sorry for ma late response : I thought the google code Wiki was responding to your question. http://code.google.com/p/sfownedbehavior/ The goal of this plugin is to automatize the verification of permissions ( for example : a post is owned by ..., do I have the right to edit/delete i