Re: [symfony-users] Edit/Show - protect against non permission access

2010-02-09 Thread Gábor Fási
At the beginning of your action do a forward404Unless(current user is the owner). On Mon, Feb 8, 2010 at 17:29, wueb webmaster@gmail.com wrote: Hello buddies, need help! On my Edit/Show actions i use the route to get the object to Edit/ Show. Edit: $this-form = new

[symfony-users] Edit/Show - protect against non permission access

2010-02-08 Thread wueb
Hello buddies, need help! On my Edit/Show actions i use the route to get the object to Edit/ Show. Edit: $this-form = new LeadsForm($this-getRoute()-getObject()); Show: $this-leads = $this-getRoute()-getObject(); All normal here and works fine, but i need something more secure. For example: