diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-07-12 20:10:00 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-07-12 20:10:00 +0000 |
commit | 9a7c7c69195a8bd6152e9ce775000e9d50f8dd06 (patch) | |
tree | f60ff02e0e1f6721669bc53656aff8b6442e8794 | |
parent | b774560c6d76647de3f115f6c81e136d4b9e7db4 (diff) | |
parent | 712204e3587d9b0fd5d4f55b1aa2f4e4ee71d896 (diff) | |
download | horizon-10.0.0.0b2.tar.gz |
Merge "Fix the issue that it cannot do a policy check correctly"10.0.0.0b2
-rw-r--r-- | openstack_dashboard/settings.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openstack_dashboard/settings.py b/openstack_dashboard/settings.py index e96a4dff7..d71684a77 100644 --- a/openstack_dashboard/settings.py +++ b/openstack_dashboard/settings.py @@ -411,7 +411,7 @@ def check(actions, request, target=None): # Note(Itxaka): This is to prevent circular dependencies and apps not ready # If you do django imports in your settings, you are gonna have a bad time from openstack_auth import policy - return policy.check(actions, request, target=None) + return policy.check(actions, request, target) if POLICY_CHECK_FUNCTION is None: POLICY_CHECK_FUNCTION = check |