#1391: Nocheck predicate for SecureResource controllers
-------------------------+--------------------------------------------------
Reporter: renier | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 1.0.3
Component: TurboGears | Version: 1.0.2
Severity: normal | Keywords:
-------------------------+--------------------------------------------------
Currently, controllers that subclass SecureResource must have a valid
require attribute. The problem is that if you want to serve your
application at the root URL, you need a login method that is not protected
within the controller. This is currently not possible.
To add flexibility to which methods you want to secure withing a subclass
of SecureResource, you either have to reverse
http://trac.turbogears.org/changeset/2845 and replace with some warnig, or
add a predicate that does not check anything (as in the attached patch) so
that you can go back to specifying @identity.requires per method.
--
Ticket URL: <http://trac.turbogears.org/ticket/1391>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Tickets" 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/turbogears-tickets?hl=en
-~----------~----~----~----~------~----~------~--~---