diff options
Diffstat (limited to 'ironic/common/policy.py')
-rw-r--r-- | ironic/common/policy.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ironic/common/policy.py b/ironic/common/policy.py index cc8772741..240797731 100644 --- a/ironic/common/policy.py +++ b/ironic/common/policy.py @@ -633,9 +633,9 @@ def authorize(rule, target, creds, *args, **kwargs): Checks authorization of a rule against the target and credentials, and raises an exception if the rule is not defined. - Always returns true if CONF.auth_strategy == noauth. + Always returns true if CONF.auth_strategy is not keystone. """ - if CONF.auth_strategy == 'noauth': + if CONF.auth_strategy != 'keystone': return True enforcer = get_enforcer() try: |