Commit Graph
9 Commits
Author SHA1 Message Date
Stephan 339ecff938 FIX: RequireAuthentication now throws on wrong auth type 2022-06-05 21:42:47 +02:00
Stephan eb20ff4965 Refractor auth logic
+ Add possibility (_requireAdminAuthentication, _requireTeamleaderAuthentication) to make auth optional
+ Add possibility to combine multiple auth types into one function
2022-05-30 18:18:44 +02:00
Stephan cd0cb00106 Add requireResponsibleForGroup
+ Update controllers
2022-05-29 14:47:32 +02:00
Stephan 2a33b703bc Add methods for requiring more specific levels of teamleader auth
+ Add AuthError
2022-05-27 23:08:23 +02:00
Stephan a9c182cf64 Add teamleader authentication 2022-05-27 22:48:16 +02:00
Stephan 08419d581b Update the admin revision on password change
+ Update type of revision to DateTime
2022-01-02 17:26:20 +01:00
Stephan 4fd8a4c978 Add reference to custom Request typings 2021-11-11 11:57:36 +01:00
Stephan 60f7c8fff5 Export requireAuthentication 2021-11-10 16:12:55 +01:00
Stephan c869863aea Add middleware to require authentication on an endpoint 2021-11-10 16:04:26 +01:00