go-gitea / go-sdk

Gitea: Golang SDK, moved to https://gitea.com/gitea/go-sdk
http://gitea.io
MIT License
29 stars 53 forks source link

add IsAdmin to user #151

Closed adelowo closed 5 years ago

jeanlucmongrain commented 5 years ago

I just tried on 1.7.4 and if I call GetMyUserInfo IsAdmin is always false... even if I'm really an admin

Screen Shot 2019-03-15 at 10 53 12

adelowo commented 5 years ago

This functionality is only in Gitea 1.8. I don't think this was merged into 1.7