Django-perms

Latest version: v2.1.0

Safety actively analyzes 629639 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 2

1.1.0

Fixed

- Template filters now bypass the call to the permission function when
appropriate (e.g., when `allow_staff=True` and the user is staff). The
logic for this was already in place but was broken due to operator
precedence.
- Tests now run on Python 2.6.
- Tests no longer cause warnings under Django 1.7 (due to missing
`MIDDLEWARE_CLASSES` setting).

Added

- `PermissionsRegistry.entry_for_view(view, permission_name)` can be
used to whether a view requires a permission. This is intended for use
in testing.
- Travis CI config was added.

1.0.0

Initial version.

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.