Skip to content

Support for Dynamic verification of request

Compare
Choose a tag to compare
@ravichauhan03 ravichauhan03 released this 21 Jun 09:08
· 16 commits to main since this release
9534774

This release supports the dynamic verification of requests. Any attribute of the form,
verify_<attribute_name> will be validated against <attribute_name>

For example, if the request is as mentioned below:
{
"subject": {
"id": "123",
"department": "HR",
"verify_department": "HR"
},
"action": {
"id": "read"
}
}

Then in the above request, the value of "verify_department" will be validated against "department".