Problem
Currently API tokens can only be received by people with their respective permissions, see https://github.com/hitobito/hitobito/blob/master/doc/development/05_rest_api.md
So to give to access to an application independent of a person is currently not possible.
Solution
Creation of service accounts with optionally configurable permissions.
Acceptance Criteria
Open Questions
Problem
Currently API tokens can only be received by people with their respective permissions, see https://github.com/hitobito/hitobito/blob/master/doc/development/05_rest_api.md
So to give to access to an application independent of a person is currently not possible.
Solution
Creation of service accounts with optionally configurable permissions.
Acceptance Criteria
For every layer you can create/delete impersonal API Tokens
A token can be described by a name and a description
A token is attached to a certain layer, its rights are derived from said layer
API Token can only be created by people with :layer_and_below_full and :layer_full permissions
per Token I can configure whether a specific API token can
Open Questions