Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Backport] Support for methods on User model when checking permissions
The ``permissions_required`` decorator, and hence ``Application.permissions_map`` and ``Application.default_permissions``, now handle both methods and properties on the User model. Previously, it wasn't supported, but a docstring showed ``is_anonymous`` as an example, which is a method. Cherry-picked from 8b610f6
- Loading branch information