casdoor / casdoor-dotnet-sdk

.NET client SDK for Casdoor
https://github.com/casdoor/casdoor
Apache License 2.0
28 stars 25 forks source link

casdoor api provider works only with admin owner #79

Closed typicalhuman7 closed 1 year ago

typicalhuman7 commented 1 year ago

Currently, the casdoor API provider only works with admin owner, and there is no option to set an individual owner. For example, a custom provider assigned to organization "foo", when deleted via the api client, will try to be executed by owner as admin and return an error page

https://github.com/casdoor/casdoor-dotnet-sdk/blob/b3c3c957214d25bb620aa23a6ed3c483d205279e/src/Casdoor.Client/CasdoorClient.ProviderApi.cs#L33

casbin-bot commented 1 year ago

@seriouszyx @ComradeProgrammer @Resulte