Correct wrong description of method enforce

The description for method enforce in rbac.py is not right, and
will confuse the developer, so correct it.

Change-Id: I35737470421c19278efaa201803a15bab8faee1f
This commit is contained in:
xiangjun.li 2016-10-22 10:15:49 -04:00 committed by Xiang Li
parent 98d37b92c1
commit 502ad1ad9f
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def _has_rule(name):
def enforce(policy_name, request):
"""Return the user and project the request should be limited to.
"""Checks authorization of a rule against the request.
:param request: HTTP request
:param policy_name: the policy name to validate authz against.