- Policy checks on each resource lineage and get the first policy it gets.
- Add coverall in after_success of travis config.
- Remove pyramid version constraints.
- Removing decorator
authentication_policy
: extension should not instantiate authentication policy class internally.
- Registering same context to multiple policies raises a configuration error.
- Unregister old policy when overriding a context with another policy.
- Change register_authentication_policy and authentication_policy signatures.
- Add introspectables to config for registered authentication policies.
- Rename register_context to register_policy
- Break backward compatibility as
ContextBasedAuthenticationPolicy.register_context
now requiresconfig
instance as first argument. - Add
config.register_authentication_policy
configuration directive which accepts a list of contexts. - Use registry adpaters to register policies rather than a dict.
- Add a decorator
authentication_policy
to register policies when doing a config scan.
- Adjust requirements files and dependencies.
- Update dependencies by adding requirements files.
- Changed
register_context
interface which breaks compatibility with 0.0.3
- Commit configuration before returning from includeme.
- When not provided,
authenticated_userid
andeffective_principals
from super classCallbackAuthenticationPolicy
are used.
- Initial version