streamlit-userverwaltung/config/users.yml

51 lines
1.0 KiB
YAML

credentials:
usernames:
jsmith:
email: jsmith@gmail.com
failed_login_attempts: 0 # Will be managed automatically
logged_in: False # Will be managed automatically
name: John Smith
password: abc # Will be hashed automatically
groups:
- admin
- it
rbriggs:
email: rbriggs@gmail.com
failed_login_attempts: 0 # Will be managed automatically
logged_in: False # Will be managed automatically
name: Rebecca Briggs
password: def # Will be hashed automatically
cookie:
expiry_days: 30
key: some_signature_key # Must be string
name: some_cookie_name
pre-authorized:
emails:
- melsby@gmail.com
groups:
- admin
- it
- dispo
- fuhrpark
- buchhaltung
- service
dashboards:
users:
groups:
- admin
path: pages/users.py
test:
groups:
- admin
- it
path: pages/test.py
test2:
groups:
- it
path: pages/user.py
Dashboard:
groups:
- dispo
- it
path: pages/dashboard.py