The pecan.secure module includes a basic framework for building security into your applications.
This method unlocks method or class attribute on a SecureController. Can be used to decorate or wrap an attribute
This method secures a method or class depending on invocation.
Bases: object
Returns True or False to grant access. Implemented in subclasses of SecureController.
Bases: pecan.secure.SecureControllerBase
Used to apply security to a controller. Implementations of SecureController should extend the check_permissions method to return a True or False value (depending on whether or not the user has permissions to the controller).