summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--openstack_dashboard/settings.py2
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