casdoor / casdoor-dotnet-sdk

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

Admin API in casdoor-dotnet-sdk #39

Closed zabbius closed 1 year ago

zabbius commented 1 year ago

I need to do some migrations in Casdoor during product update. So I need methods for editing applications, organizations etc. Go sdk has already such methods. Can I add them here or if not, what is the correct way to solve my problem?

casbin-bot commented 1 year ago

@seriouszyx @ComradeProgrammer @Resulte

hsluoyz commented 1 year ago

@zabbius hi, can you make a PR to port those APIs from Go to .NET SDK?

zabbius commented 1 year ago

@hsluoyz yes, but I was afraid that the decision will be as in https://github.com/casdoor/casdoor-dotnet-sdk/pull/30

Btw, can I reuse code from that closed MR?

hsluoyz commented 1 year ago

@zabbius hi, you can refer to this PR: https://github.com/casdoor/casdoor-dotnet-sdk/pull/30 but since its code quality is not good, do not just copy its code. Use it as a reference only.

zabbius commented 1 year ago

@hsluoyz ok, thank you

zabbius commented 1 year ago

created https://github.com/casdoor/casdoor-dotnet-sdk/pull/41