-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add API to check if team has repo access #19540
Conversation
PR to add test-case: https://github.com/qwerty287/gitea/pull/3 otherwise L G T M |
Add test case
Codecov Report
@@ Coverage Diff @@
## main #19540 +/- ##
=======================================
Coverage ? 47.39%
=======================================
Files ? 952
Lines ? 132620
Branches ? 0
=======================================
Hits ? 62855
Misses ? 62187
Partials ? 7578
Continue to review full report at Codecov.
|
* giteaofficial/main: Fix some slice problems (incorrect slice length) (go-gitea#19592) Fix sending empty notifications (go-gitea#19589) Handle the error of a missing blob object fix go-gitea#19530 (go-gitea#19552) Remove legacy `+build:` constraint (go-gitea#19582) Federation: return useful statistic information for nodeinfo (go-gitea#19561) Upgrade required git version to 2.0 (go-gitea#19577) add smtp password to install page (go-gitea#17564) ignore DNS error when doing migration allow/block check (go-gitea#19566) [skip ci] Updated translations via Crowdin Dont overwrite err with nil & rename PullCheckingFuncs to reflect there usage (go-gitea#19572) Improve UI on mobile (go-gitea#19546) Add API to check if team has repo access (go-gitea#19540)
* Add API to check if team has repo access * Add test case
Add an API endpoint which checks if a team has repository access.
Closes #19452