You can call the decorator directly, or just wrap it in an internal
func.

On Apr 21, 11:06 am, vihang <[email protected]> wrote:
> Even better would be to be able to use decorators on it, like
> @auth.requires_permission on register(). This may be asking too much,
> but just wanted to see how much the auth module can be stretched
> before one has to start tweaking the auth code...
>
> On Apr 21, 12:58 pm, vihang <[email protected]> wrote:
>
> > I had a look at the auth code, but could not find any flags to disable
> > registration. Is there a way I can do it my have something like
> > auth.settings.register flag in the model with other settings??
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to