-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Only admin should have right to edit any comment #17585
Comments
I dont see your I have edited your original post, including this one -- by wxiaoguang |
yep. Well i can't do the same. |
On a team, if you remove the write permission to issue/pullrequest unit, the team members will not have the permission to edit the comments. |
Hello Indeed if we disable issues/Pull request right we lost comment edit option. But we lost also some other behavior as manage tag, milestone, .... If user as write permission looks logic to also edit tag, milestone to qualify code contribution. But edit comment from other contributors looks a bit different. Should be better to move this behavior "edit comment" if use has admin permission. |
As a non-admin but maintainer of this project - I frequently use my comment editing power to fix up rendering problems in other people's comments, rename issues and pulls, and to make the pull request initial comments closer to what was pulled. It may seem like putting words into other people's mouths but I think this kind of editing functionality is important. The comments on an issue or PR are not an audit of what was said - they're a form of documentation. |
Hello Yes I see this use case. In our use case we have a different logic. We want allow default contribution on some organization and we allow write permission. Looks possible in this case to propose a sub option to allow/restrict message edition ? Then we will manage these two use case ? |
|
Hello We have a collaborative forge where peer can approve PR/MR/commit on same repository. Then we have open enable write contribution but we don't want user rewrite collaborator content as issue comment. For example at https://git.spip.net/spip-contrib-extensions all account are set to contrib team. Then all could contribute as any peer but should not be admin (as in this case edit other comment ) |
One way to mitigate this issue would be an edit history like GitHub has. I would be okay with other people editing my comments if these edits are documented and attributable. |
Could you explain how I can allow a group of people to push code, but only post/read issues? |
Maybe a moderator role would be the right thing for this use case. (But even if editing is restricted to moderators and admins, I still think there should be an indicator that the comment has been edited, and by whom.) |
It seems one team cannot implement it. You have to have two teams. One team for people who could push code, another for post/read issues. |
Thank you! For my current use case this is a feasible workaround, although I don't think this would scale well. |
This could be resolved by #16859 |
Hello Yes could be optimized by this issue. 👍 But looks as a big job on long time. Waiting this evolve is it possible to provide any work around ? |
@camlafit See @lunny's comment above. It's not pretty, but it does work for me. |
Gitea Version
1.14.1
edited by team members to hide irrelevant information
Description
On organization we have create a team with write permission on repository. Any user in this team can edit any issue comment .
Edition should be move to "administrator access" to prevent any security issue
The text was updated successfully, but these errors were encountered: