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:
parent
98d37b92c1
commit
502ad1ad9f
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue