Merge "Deprecate [trust]/enabled option"

This commit is contained in:
Zuul 2018-01-03 05:07:28 +00:00 committed by Gerrit Code Review
commit 2178447a6d
2 changed files with 10 additions and 0 deletions

View File

@ -11,6 +11,7 @@
# under the License.
from oslo_config import cfg
from oslo_log import versionutils
from keystone.conf import utils
@ -18,6 +19,12 @@ from keystone.conf import utils
enabled = cfg.BoolOpt(
'enabled',
default=True,
deprecated_for_removal=True,
deprecated_reason=utils.fmt("""
Disabling the trusts API is deprecated. This option will be removed in the
next release and trusts will always be enabled.
"""),
deprecated_since=versionutils.deprecated.QUEENS,
help=utils.fmt("""
Delegation and impersonation features using trusts can be optionally disabled.
"""))

View File

@ -15,3 +15,6 @@ deprecations:
role. This option is deprecated and will be removed in the S release. If
you are depending on having a predictable role name and ID for this member
role you will need to update your tooling.
- >
The ``enabled`` config option of the ``trust`` feature is deprecated and
will be removed in the next release. Trusts will then always be enabled.