Merge "Pass the actual target in os-console-auth-tokens policy"
This commit is contained in:
commit
b2a2ae1b91
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue