On Wed, 27 May 2009 10:33:40 +1000, Ben Hutchison wrote:
> So the authorization decision needs to examine some context (ie the > Listing), as well as the current user, to determine whether they have an > Edit or View role. I'm building something in that does this (albeit in scala). The approach I used was to implement a custom IAuthorizationStrategy. The isActionAuthorized method takes a component, so you can use the component, or its model, or both, as a starting point for your context. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
