charm-openstack-dashboard/hooks
Carlos Bravo ab66a192f4 Added OPENSTACK_KEYSTONE_MFA_TOTP_ENABLED to config options
Starting from Openstack Bobcat (2023.2) Multi Factor Authentication
was added for Horizon. This change introduced a new variable called
OPENSTACK_KEYSTONE_MFA_TOTP_ENABLED, which if set to True will display
a new form requesting for the user's TOTP code for MFA enabled users.

This change provides the missing OPENSTACK_KEYSTONE_MFA_TOTP_ENABLED
config option for the charm, allowing the user to enable from the
charm's configuration. If the value is set to True, the new bobcat
template will render the following values:
OPENSTACK_KEYSTONE_MFA_TOTP_ENABLED = True

AUTHENTICATION_PLUGINS = [
    'openstack_auth.plugin.totp.TotpPlugin',
    'openstack_auth.plugin.password.PasswordPlugin',
    'openstack_auth.plugin.token.TokenPlugin'
]

Closes-Bug: #2058689
Change-Id: Ifedf587356693b58612b1fc4d7404f0f446158ce
2024-03-27 21:57:28 -04:00
..
__init__.py Re-license charm as Apache-2.0 2016-07-03 17:40:18 +01:00
application-dashboard-relation-changed Add application-dashboard relation 2021-10-08 12:01:41 +11:00
application-dashboard-relation-joined Add application-dashboard relation 2021-10-08 12:01:41 +11:00
certificates-relation-changed Add support for certificates interface. 2018-07-16 06:36:10 +00:00
certificates-relation-departed Add support for certificates interface. 2018-07-16 06:36:10 +00:00
certificates-relation-joined Add support for certificates interface. 2018-07-16 06:36:10 +00:00
cluster-relation-changed Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
cluster-relation-departed Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
cluster-relation-joined [hopem,r=] 2014-10-15 20:19:14 +02:00
config-changed Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
dashboard-plugin-relation-changed Fix amulet tests, renamed plugin relation to be a little more discriptive and fixed charm lint 2015-09-10 14:09:17 +00:00
dashboard-plugin-relation-joined Fix amulet tests, renamed plugin relation to be a little more discriptive and fixed charm lint 2015-09-10 14:09:17 +00:00
dashboard-relation-changed Add new interface 'dashboard' 2023-09-04 15:30:00 -03:00
dashboard-relation-joined Add new interface 'dashboard' 2023-09-04 15:30:00 -03:00
ha-relation-joined Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
horizon_contexts.py Added OPENSTACK_KEYSTONE_MFA_TOTP_ENABLED to config options 2024-03-27 21:57:28 -04:00
horizon_hooks.py Add config for extra regions 2024-03-21 10:50:01 +10:30
horizon_utils.py Remove neutron-fwaas-dashboard package for >= V 2021-11-30 12:47:22 +05:30
identity-service-relation-changed Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
identity-service-relation-departed Add missing departed hook 2015-10-10 16:41:09 -07:00
identity-service-relation-joined Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
install Enable focal and ussuri as part of the gate tests 2020-04-03 16:50:58 +01:00
install.real Ensure python2 is installed before hook execution 2015-09-22 14:53:43 +01:00
nrpe-external-master-relation-changed [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
nrpe-external-master-relation-joined [bradm] initial nrpe checks 2014-10-29 22:30:36 -05:00
post-series-upgrade Series Upgrade 2018-09-22 20:21:33 +00:00
pre-series-upgrade Series Upgrade 2018-09-22 20:21:33 +00:00
shared-db-relation-broken Add support for Keystone API version 3 2016-06-30 08:31:12 +00:00
shared-db-relation-changed Add support for Keystone API version 3 2016-06-30 08:31:12 +00:00
shared-db-relation-joined Add support for Keystone API version 3 2016-06-30 08:31:12 +00:00
start Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
stop Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
update-status Add hardening support 2016-03-24 11:19:46 +00:00
upgrade-charm Enable focal and ussuri as part of the gate tests 2020-04-03 16:50:58 +01:00
upgrade-charm.real Enable focal and ussuri as part of the gate tests 2020-04-03 16:50:58 +01:00
website-relation-joined Test coverage tweaks, unit testing 2013-07-18 09:37:37 +01:00
websso-fid-service-provider-relation-broken add WebSSO support 2018-05-09 00:28:14 +03:00
websso-fid-service-provider-relation-changed add WebSSO support 2018-05-09 00:28:14 +03:00
websso-fid-service-provider-relation-departed add WebSSO support 2018-05-09 00:28:14 +03:00
websso-fid-service-provider-relation-joined add WebSSO support 2018-05-09 00:28:14 +03:00
websso-trusted-dashboard-relation-broken add WebSSO support 2018-05-09 00:28:14 +03:00
websso-trusted-dashboard-relation-changed add WebSSO support 2018-05-09 00:28:14 +03:00
websso-trusted-dashboard-relation-departed add WebSSO support 2018-05-09 00:28:14 +03:00
websso-trusted-dashboard-relation-joined add WebSSO support 2018-05-09 00:28:14 +03:00