Package expedient :: Package common :: Package permissions :: Module middleware
[hide private]
[frames] | no frames]

Module middleware

source code

Created on Jun 6, 2010


Author: jnaous

Classes [hide private]
  PermissionMiddleware
Middleware to catch PermissionDenied exceptions thrown by the expedient.common.permissions app and redirects to the permission URL if found.
Variables [hide private]
  logger = logging.getLogger("permissions.middleware")
  __package__ = 'expedient.common.permissions'