-
-
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
Cannot add read-only users to the Pull Request Whitelist #8297
Comments
@lunny Am I using this the right way? |
I've just checked. Gitea in fact doesn't let you add a user to whitelisted reviewers unless they have write access to the repository. ------------------------------------------------The open question is: should this be allowed? @worthy7 I understand your use case. I think I'd like something like that too. Let's see what others think. |
@worthy7 You can actually do this if you add your boss to a team with read-only access to the repository (you must include PR in the team permissions, as well as code). |
Anyway, there's a PR now to allow that action for individual uses, but it (if accepted) may take some time to see light. |
Thanks, the reason why I haven't separated teams for my boss is because of the annoying autocomplete issue where @mentions only work for those in your team. My boss and the others are new to things like git and I'm trying to ease them in as simply as possible... |
Mmm......... never heard of that @mentions limitation. I'm browsing through the code and I don't see anything like you describe. |
Oh, but teams and organizations are different things. |
@guillep2k ? Yea my issue is not with notifications... it's with the fact that autocomplete doesn't show other people outside of your "first" assigned team. Anyway this issue is just about what we said above |
@worthy7 which version are you using? |
@lunny if this issue is about the autocomplete, then @worthy7 is right in that it's not showing every user in the autocomplete (not even in master). About the @mentions permissions.... I filed #8303 ... also present in master. I'll see if I can PR for that, then we can backport. @worthy7 The list of users available in the autocomplete is sent in full to the browser every time a comment box appears (even if the user don't write a comment) so the list shows up with no delay the moment you type in |
@lunny 1.9 I think |
Changed the name of the issue since we now identified why (I think?) |
Since #8398 merged, I will close this. |
Problem:
People's names/teams other than the first team I'm in (Owners, alone) do not appear in the settings area for whitelisting things. So I cannot set anything up as the owner. The only solution I can see it put everyone (me, support, admins, approvers) into one big team with full permission (since I need full permission)
I can already bet that this is because the autocomplete is ignoring anything other than the first team it finds that I am in (which is Owners), but of course I am also part of the developers team - which it is just ignoring.
This is also an issue when writing an issue and trying to @ mention someone - no autocomplete appears so I have to write them manually. Perhaps a
UserService
of some sort on the front end needs to be abstracted out, that can be used by different modules in Gitea:UserService.GetAllUsersInOrg()
UserService.GetAllUsersInTeam()
UserService.GetAllMyTeams()
The text was updated successfully, but these errors were encountered: