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

[feature] ABAC support for EnableAcceptJsonRequest()

Open rogersgt opened this issue 2 years ago • 2 comments

According to the ABAC documentation the enforcer should have a method called enableAcceptJsonRequest to support parsing the request properties as JSON strings. This feature would be to support the concept of object ownership.

I don't believe node-casbin currently supports this. I'm happy to make a contribution, but wanted to be sure this wasn't already available somehow or in the works. Thanks!

rogersgt avatar Oct 30 '23 18:10 rogersgt

@nodece @Shivansh-yadav13

casbin-bot avatar Oct 30 '23 18:10 casbin-bot

@rogersgt hi, contribution is welcomed. Can you make a PR?

hsluoyz avatar Oct 31 '23 03:10 hsluoyz