Commit Graph

19 Commits

Author SHA1 Message Date
cffdb1f797 users created through the web interface are local users by default 2021-04-17 14:34:55 +02:00
734bed2092 prevent password changing for ldap users (they get redirected to the ldap self service instead) 2021-04-17 14:26:04 +02:00
f48f78997c added option to view the NFC logfile as super admin 2021-04-10 17:25:27 +02:00
8339294277 added option to read flask SECRET_KEY and SECURITY_PASSWORD_SALT from file 2021-04-10 13:46:56 +02:00
2cb93d1d3b Distinguish between normal users and admin users. Normal user can only lock and unlock the door. Admin users can register new tokens.
Also added option to grant and revoke admin permissions for super-Admins.
2021-04-07 16:15:39 +02:00
7684268002 added bootstrap for nicer layout 2021-04-07 11:29:50 +02:00
ccce39d1a0 restructured LDAP authorization procedure 2021-04-06 22:39:21 +02:00
a71f68ade3 worked on ldap validation 2021-04-06 17:53:41 +02:00
312549ac15 added route for token backup 2021-04-06 17:53:14 +02:00
8cdf549c4c added ability to backup and restore admin users for super admins 2021-03-28 21:50:44 +02:00
e707f4bd87 added support for different roles (admins + super admins), super admins can create new admins 2021-03-27 22:58:31 +01:00
4197446a00 improved admin user creation and added basic logging features 2021-03-27 16:41:51 +01:00
eb4c027f46 changed priority for authorization (Flask first, LDAP second) and cache LDAP credentials in memory on successful authentication 2021-03-22 23:42:29 +01:00
2aa958aaa0 added ldap3 dependency to setup.py 2021-03-22 21:25:48 +01:00
1e87406fdb added LDAP authorization 2021-03-22 21:22:51 +01:00
e79713e094 Added confirmation page for token deletion 2021-03-21 21:45:13 +01:00
c981161cd7 Added option to create admin users by passing file with username, email and initial password 2021-03-21 17:27:01 +01:00
bf239edf1d added connection to nfc socket for reloading token file and opening and closing the door from the web interface 2021-03-21 15:53:33 +01:00
a529126b40 configured repo to work with pip setup 2021-03-15 22:51:51 +01:00