myapp/lib/decorators.py:authorize()
As per usual, this decorator wraps the enclosed function func() call.
It takes the permission object passed in as argument and calls the permission’s check() function - which is expected to return True or False.
DemoController.privindex
lib.auth.permissions.SignedIn.check
Enter search terms or a module, class or function name.