ceph/qa/tasks/mgr
Tatjana Dehler 0221241909 mgr/dashboard: add password expiration date
Add a 'pwd_expiration_date' field to the User object to be able
to set password expiration date per user.

There are two options to set a password expiration date for a
user:

1. Set the 'USER_PWD_EXPIRATION_SPAN' setting. If defined
   the expiration date of the password will be calculated
   automatically based on the given value. It will also be
   updated automatically when the user changes the password.
2. Set an expiration date by setting the 'pwdExpirationDate'
   field when creating a user.

Add two more settings in addition: USER_PWD_EXPIRATION_WARNING_1
and USER_PWD_EXPIRATION_WARNING_2. These two settings are
defining the amount of days to notify the user that his password
will expiration soon.

It's not possible to set the 'pwd_expiration_date' field to a
date in the past.

If the password of a user is already expired he is no longer
allowed to log into the dashboard.

Fixes: https://tracker.ceph.com/issues/40329
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
2019-12-13 08:53:05 +01:00
..
dashboard mgr/dashboard: add password expiration date 2019-12-13 08:53:05 +01:00
__init__.py
mgr_test_case.py
test_cephadm_orchestrator.py mgr/ssh -> mgr/cephadm 2019-12-11 19:14:24 -06:00
test_crash.py
test_dashboard.py
test_failover.py
test_insights.py
test_module_selftest.py
test_orchestrator_cli.py mgr/orchestrator_cli: make rgw rm take realm+zone 2019-12-07 23:41:36 -06:00
test_progress.py
test_prometheus.py