Police-Data-Accessibility-Project / data-sources-app

An API and UI for using and maintaining the Data Sources database
MIT License
4 stars 5 forks source link

Make DatabaseClient user identification more consistent #407

Open maxachis opened 3 months ago

maxachis commented 3 months ago

Context

Requirements

Tests

Docs

Open questions

maxachis commented 3 months ago

Idea 💡: Create a user identifier class which contains the necessary email/ID and other information. Pass that as arguments instead of email or ID.

Can even embed that in the JSON web token, by serializing it.