The configuration property that maps policies to
users is now called `authorized_by` to reflect
that a policy is matching and granting the
user access,
To keep backwards compatibility, the `instance_id`
property of forgejo authentication sources is
made optional again.
It is strongly advised to use an `instance_id`
if a user from the forgejo authentication source
should be present in the policy mapping.
For test reasons, linkml had been installed from the
current top of the `main`-branch of `linkml`. This
commit reverts the dependency to the latest release.
To support exact specification of user-IDs,
`AuthenticationInfo` now contains a
`source_identifier`. This will identify the
authentication source that was used. All
`AuthenticationSource`s are instantiated with
a `source_identifier`, chosen by the caller.
Add user-id -> policy mapping to collection
configuration
Adapt code to extended user ID information, i.e. to
(authentication_instance_id, user_id),
feat: add policy handling to SQLite backend
This commit implements policy handling in the
SQLite backend. That means, result records
are filtered by an optional default policy, a
set of active policies, and the policies that
are set in the annotations of a record.