1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-12-09 23:32:14 +02:00

implementing user listing and role changing

This commit is contained in:
Braun Patrik
2016-05-03 14:29:24 +02:00
parent 67d4d2be71
commit 11be4e3e87
15 changed files with 160 additions and 56 deletions

View File

@@ -66,7 +66,7 @@ export class UserRouter{
private addListUsers() {
this.app.post("/api/user/list",
this.app.get("/api/user/list",
AuthenticationMWs.authenticate,
AuthenticationMWs.authorise(UserRoles.Admin),
UserMWs.listUsers,