casdoor-python-sdk icon indicating copy to clipboard operation
casdoor-python-sdk copied to clipboard

[bug] enforce/batch_enforce API no work

Open jump2cn opened this issue 2 years ago • 4 comments

hi team, I found the enforce/batch_enforce function of SDK can't work with the new version of Casdoor. it is because the casdoor enforce API's parameter format has been changed.

API descript: https://casdoor.org/docs/permission/exposed-casbin-apis/#enforce code: https://github.com/casdoor/casdoor-python-sdk/blob/master/src/casdoor/main.py#L250-L336 https://github.com/casdoor/casdoor-python-sdk/blob/master/src/casdoor/async_main.py#L262-L331

jump2cn avatar Dec 13 '23 06:12 jump2cn

@tangyang9464 @JalinWang @imp2002

casbin-bot avatar Dec 13 '23 06:12 casbin-bot

@jump2cn does casdoor-go-sdk work?

hsluoyz avatar Dec 15 '23 14:12 hsluoyz

@jump2cn any update?

hsluoyz avatar Apr 21 '24 14:04 hsluoyz