Bases: django.views.generic.base.View
API for interacting with the policy engine.
Check policy rules.
Check the group of policy rules supplied in the POST application/json object. The policy target, if specified will also be passed in to the policy check method as well.
The action returns an object with one key: “allowed” and the value is the result of the policy check, True or False.