Incuna-auth

Latest version: v10.0.0

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

Scan your dependencies

Page 5 of 11

2.3.5

--------
* Enhancement: Add a request parameter to get_unauthorised_redirect_url.

2.3.4

--------
* Bugfix: Don't fail when the FeinCMS Page object has a parent, but that parent is None.

2.3.3

--------
* Bugfix: Don't fail when the FeinCMS Page object doesn't exist at the named URL.

2.3.2

--------
* Bugfix: Access FeinCMS pages properly.

2.3.1

--------
* Bugfix: Make `CUSTOM_STATES` work as intended via a metaclass.

2.3.0

--------
* Add `AccessStateExtensionMixin` to add an `access_state` field to FeinCMS objects,
making it easier to control access to them with middleware.
* Re-implement `LoginRequiredMiddleware` using a series of inherited classes for better
extensibility. `BasePermissionMiddleware` is the base class, and
`UrlPermissionMiddleware` descends from that. `LoginPermissionMiddlewareMixin` adds
an access condition and nice error output for authentication-related middlewares.
* Add `FeinCMSLoginRequiredMiddleware`, an equivalent middleware for FeinCMS `Page`-based
sites. This middleware descends from `FeinCMSPermissionMiddleware` and uses the same
mixin.
* Add checks that verify that both of those middlewares are used with their dependencies.

Page 5 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.