Closed ISulimanov closed 1 year ago
@seriouszyx @ComradeProgrammer @Resulte
@ISulimanov hi, can you make a PR to add it?
@ISulimanov hi, can you make a PR to add it?
Sure! Just help me figure out little bit how it works and I will send PR I have issue so far when trying to achieve it: https://github.com/casdoor/casdoor/issues/1696
Should CasdoorClient provide Enforce method like in go-sdk ? https://github.com/casdoor/casdoor-go-sdk/blob/master/casdoorsdk/enforce.go
Looks like it should be because in case of using RBAC where permissions belong to Role, I have to call
api/enforce
to verify that User has permission.