diff --git a/nova/api/openstack/compute/console_auth_tokens.py b/nova/api/openstack/compute/console_auth_tokens.py index 0e9c5608d529..41755d12322c 100644 --- a/nova/api/openstack/compute/console_auth_tokens.py +++ b/nova/api/openstack/compute/console_auth_tokens.py @@ -30,7 +30,7 @@ class ConsoleAuthTokensController(wsgi.Controller): def _show(self, req, id, rdp_only): """Checks a console auth token and returns the related connect info.""" context = req.environ['nova.context'] - context.can(cat_policies.BASE_POLICY_NAME) + context.can(cat_policies.BASE_POLICY_NAME, target={}) token = id if not token: