node-casbin icon indicating copy to clipboard operation
node-casbin copied to clipboard

feat: Add support for JSON request parsing in Enforcer

Open Shiva953 opened this issue 1 year ago • 4 comments

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.

Shiva953 avatar Nov 05 '23 14:11 Shiva953

@nodece @Shivansh-yadav13 please review

casbin-bot avatar Nov 05 '23 14:11 casbin-bot

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Nov 05 '23 14:11 CLAassistant

@Shiva953 fix CI:

image

hsluoyz avatar Nov 06 '23 03:11 hsluoyz

hmm lol

geoffreygarrett avatar Apr 10 '24 16:04 geoffreygarrett