Fix RBACEnforcer Comment

Fix the comment that is now inaccurate.

Change-Id: I38eeffa028f33870ca7619c4f76644e1c41f812e
Partial-Bug: #1776504
This commit is contained in:
Morgan Fainberg 2018-07-20 17:25:24 +00:00 committed by wangxiyuan
parent 5ea59f5220
commit f60c661d2c
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ class RBACEnforcer(object):
else:
policy_dict['target'] = target_attr
# Pull the data from the view args (path based params) to generate
# Pull the data from the submitted json body to generate
# appropriate input/target attributes, we take an explicit copy here
# to ensure we're not somehow corrupting
json_input = flask.request.get_json(force=True, silent=True) or {}