idangozlan / verdaccio-bitbucket

BitBucket auth plugin for verdaccio
MIT License
7 stars 17 forks source link

Use permissions bitbucket api #27

Closed SkeLLLa closed 4 years ago

SkeLLLa commented 4 years ago

Why not utilize GET https://api.bitbucket.org/2.0/user/permissions/teams API instead of https://api.bitbucket.org/2.0/teams

It will allow to reduce amount of API calls to one.

idangozlan commented 4 years ago

You are more than welcome to contribute with a PR, I have no time for it right now.