Fix RBACEnforcer Comment
Fix the comment that is now inaccurate. Change-Id: I38eeffa028f33870ca7619c4f76644e1c41f812e Partial-Bug: #1776504
This commit is contained in:
parent
5ea59f5220
commit
f60c661d2c
|
@ -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 {}
|
||||
|
|
Loading…
Reference in New Issue