-
-
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
Fix owner team access mode value in team_unit table #23675
Conversation
Codecov Report
@@ Coverage Diff @@
## main #23675 +/- ##
========================================
Coverage 47.14% 47.14%
========================================
Files 1149 1155 +6
Lines 151446 152397 +951
========================================
+ Hits 71397 71848 +451
- Misses 71611 72076 +465
- Partials 8438 8473 +35
... and 44 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
I was unable to create a backport for 1.19. @yp05327, please send one manually. 🍵 |
* upstream/main: Use User.ID instead of User.Name in ActivityPub API for Person IRI (go-gitea#23823) Remove fomantic ".link" selector and styles (go-gitea#23888) [skip ci] Updated translations via Crowdin Fix `cases.Title` crash for concurrency (go-gitea#23885) Disable editing tags (go-gitea#23883) Fix user profile description rendering (go-gitea#23882) Introduce GiteaLocaleNumber custom element to handle number localization on pages. (go-gitea#23861) Convert .Source.SkipVerify to $cfg.SkipVerify (go-gitea#23839) Fix review box viewport overflow issue (go-gitea#23800) Fix owner team access mode value in team_unit table (go-gitea#23675) Fix submit button won't refresh in New Repository Fork page (go-gitea#22994) Introduce GitHub markdown editor, keep EasyMDE as fallback (go-gitea#23876) Improve LoadUnitConfig to handle invalid or duplicate units (go-gitea#23736) Append `(comment)` when a link points at a comment rather than the whole issue (go-gitea#23734) Rename actions unit to `repo.actions` and add docs for it (go-gitea#23733) Try to catch more broken translations (go-gitea#23867)
Fixes #23474? I guess a backport would be nice if it does so I no longer need that workaround that I currently execute via cron every day 😆. |
It seems that we found this bug in a different way. @lunny |
We can partially back port. All changes except migration could be back port. |
Add test for #23675 Should be merged after #24117 --------- Co-authored-by: silverwind <[email protected]>
Partly backport #23675 Co-authored-by: Giteabot <[email protected]>
We lock pull requests 3 months after they were closed. If there's any need for further discussion, please open a new issue. 🍵 |
All
access_mode
value of Owner Teams are 0(AccessModeNone) inteam_unit
table, which should be 4(AccessModeOwner)In
team
table:In
team_unit
table:ps: In #23630,
access_mode
inteam_unit
is used to check the team unit permission, but I found that user can not see issues in owned org repos.