issues
search
EPFL-ENAC
/
ALICE-ETHZ-AREMA
https://alice-ethz-arema.epfl.ch
GNU General Public License v3.0
1
stars
0
forks
source link
feat: users with role, default admin, auth handling in admin app, main page layout
#19
Closed
ymarcon
closed
11 months ago
ymarcon
commented
11 months ago
backend:
user schema has a 'role' field (single role, because they are exclusive from each other)
user seeding includes the role 'user'
when there are no user with 'admin' role, one is provisioned from the config
cluster count configuration
admin:
login page tries to reauthenticate the user, if success redirects to home page
main layout verifies that user is authenticated, and if not redirects to login page
authenticated user email is displayed
logout link
some left menu entries added (no associated pages yet, just placeholders)
backend:
admin: