-
-
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
Allow to add organization members as collaborators on organization owned repositories #4748
Allow to add organization members as collaborators on organization owned repositories #4748
Conversation
repository... Fixes go-gitea#4507
Won't there be side effects when checking rights? |
I just tried regular pushing via the cli and viewing the repo via the UI.. |
Codecov Report
@@ Coverage Diff @@
## master #4748 +/- ##
=========================================
Coverage ? 37.56%
=========================================
Files ? 317
Lines ? 46822
Branches ? 0
=========================================
Hits ? 17588
Misses ? 26735
Partials ? 2499
Continue to review full report at Codecov.
|
What if someone is added to the team with less settings for same repo, will there won't be mismatch when accessing ui |
Would update this comment as @lafriks after extensive testing |
I am yet to find any unexpected side effects |
@lafriks Since #5314 has supported permission check for organization member as a collaborator, I think this is meaningful. See https://github.com/go-gitea/gitea/blob/master/models/repo_permission.go#L142 . |
Heads up to anyone merging this. Can you kindly verify the deleted translation text is still not being used ? |
@adelowo does not seems to |
Fixes #4507
Deleted the translation text since I couldn't find it being used elsewhere with
ag "settings.user_is_org_member"