Merge "Updated tenant_id to project_id in policy.py"

This commit is contained in:
Jenkins 2014-10-09 06:12:30 +00:00 committed by Gerrit Code Review
commit 56eca7ef0e
1 changed files with 1 additions and 1 deletions

View File

@ -90,7 +90,7 @@ def check(actions, request, target={}):
:param target: dictionary representing the object of the action
for object creation this should be a dictionary
representing the location of the object e.g.
{'tenant_id': object.tenant_id}
{'project_id': object.project_id}
:returns: boolean if the user has permission or not for the actions.
"""
user = auth_utils.get_user(request)