Review main Merged

76098[TASK] Centralize checkPid functionality

Benni Mack CR +2 V +2 Normal +164 −26 updated 10/21/22, 21:40

Commit message

The functionality to check authentication such
as frontend users only to certain PIDs, is now centralized
in FrontendUserAuthentication along with the logic
to use the common API with "userConstraints()" to enable
a query restriction only to certain PIDs.

This way, all restrictions are unified in the enable clause

Further refactorings could be
* use a service or event to modify the constraints in a unified way,
  or even move the constraints completely to the auth service.
* use a UserRepository that should deal with the constraints

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 10