Vérification des droits d'admin pour ajouter

avions/dz/type de sauts
This commit is contained in:
Sébastien André
2021-03-17 17:21:23 +01:00
parent ba268e739f
commit 76d3943151
15 changed files with 76 additions and 100 deletions

View File

@@ -5,6 +5,9 @@ export class User {
firstName: string;
lastName: string;
email: string;
roles: string;
authdata?: string;
token?: string;
get IsAdmin() { return this.roles === "admin"; }
}