Re: Proposal: Decoupling authorization from view

2008-11-25 Thread Thomas Guettler
Eric Drechsel schrieb: > Hi Thomas, > > Ya, it would be really nice if there was a standard way of handling > authorization for views, so that external code can check if a view is > authorized. I have been doing identically the same thing, except I was > naming the view attribute "authorized". > >

Re: Proposal: Decoupling authorization from view

2008-11-03 Thread Eric Drechsel
Hi Thomas, Ya, it would be really nice if there was a standard way of handling authorization for views, so that external code can check if a view is authorized. I have been doing identically the same thing, except I was naming the view attribute "authorized". The current decorators could be modi

Proposal: Decoupling authorization from view

2008-10-13 Thread Thomas Guettler
Hi, The auth-decorators to check for permission are nice, but it would be better, if the authorization could be decoupled from calling the view. My goal: Check if a user can access a view without calling it, because I want to disable/hide a link if the user must not call it. I implemented it in