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
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
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
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
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