node-casbin
node-casbin copied to clipboard
feat: Add support for JSON request parsing in Enforcer
Addresses #460
This PR adds support for JSON request parsing in the Enforcer module. The new method enableAcceptJsonRequest
has been implemented to facilitate parsing request properties as JSON strings which enhances the capability of the Enforcer to handle object ownership, improving the overall functionality and versatility of the system.
@nodece @Shivansh-yadav13 please review
@Shiva953 fix CI:
hmm lol