mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-13 20:51:41 +00:00
07479dd645
This pull request addresses the issue https://github.com/woodpecker-ci/woodpecker/issues/3210. Ideally, the Bitbucket API should include repository permissions when utilizing the 'get all repositories' endpoint. However, as it currently does not provide this information, a viable solution is to fetch all permissions for every repository and then employ a dictionary to associate each repository with its respective permissions. Without implementing this fix, logging in becomes problematic for users with access to a substantial number of repositories (300+), as the process takes over 2 minutes to complete. --------- Co-authored-by: Alberto Alcón <albertoalcon@bit2me.com> |
||
---|---|---|
.. | ||
api | ||
badges | ||
cache | ||
ccmenu | ||
cron | ||
forge | ||
grpc | ||
logging | ||
model | ||
pipeline | ||
plugins | ||
pubsub | ||
queue | ||
router | ||
store | ||
web | ||
config.go |