Switch the default for reset_managed_roles_on_startup

This commit is contained in:
krassowski
2024-04-12 14:10:06 +01:00
parent b79cb12095
commit d5e9e3a632
2 changed files with 2 additions and 2 deletions

View File

@@ -345,7 +345,7 @@ can be loaded from role specifications returned by the {meth}`.Authenticator.loa
The authenticator-manged roles and role assignment will be deleted after restart if:
- {attr}`.Authenticator.reset_managed_roles_on_startup` is set to `True` (default), and
- {attr}`.Authenticator.reset_managed_roles_on_startup` is set to `True`, and
- the roles and role assignments are not included in the initial set of roles returned by the {meth}`.Authenticator.load_managed_roles()` method.
## pre_spawn_start and post_spawn_stop hooks

View File

@@ -758,7 +758,7 @@ class Authenticator(LoggingConfigurable):
""",
)
reset_managed_roles_on_startup = Bool(
True,
False,
config=True,
help="""Reset managed roles to result of `load_managed_roles()` on startup.