go-gitea / gitea

Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
https://gitea.com
MIT License
44.38k stars 5.43k forks source link

Restricted Comments on Gitea #17822

Open throwabird opened 2 years ago

throwabird commented 2 years ago

Feature Description

I think it would be great if Gitea had Restricted Comments similar to Jira. https://confluence.atlassian.com/jirakb/add-restricted-comments-on-jira-962353957.html

Maybe Gitea could implement this on a Team basis. If so I'd consider adding the ability to restrict a comment to multiple teams.

Let me know what you think of this or if you think this might be out of scope for this project (I don't even know if GitHub has this functionality).

Screenshots

comment

mscherer commented 2 years ago

Kinda related: https://github.com/go-gitea/gitea/issues/3217

lunny commented 2 years ago

~should be closed by #17711?~

throwabird commented 2 years ago

Thank you for the reply! As far as I can tell the linked PR is for confidential issues. The confidential issue makes the entire issue private to a team. What I'm describing here however is a confidential comment - let me elaborate.

This comment would only show up for members of a team under a public issue with other public comments. Jira has implemented this for discussing a public issue with the team. This is especially useful for service desk type issues (we use it for issues with our server infrastructure) where you can for example send a link to documentation to your colleagues without notifying the reporter.

Jira is great for those kind of service desk type issues and Gitea is more focused to be for complete Development which is why I am unsure if this feature fits this Project.

Let me know what you think!

mscherer commented 2 years ago

This is also used on various bugzillas. For example, this is used at $DAYJOB when we have a public bug report, but with customer (or company) information that should not be public.

lgedgar commented 1 year ago

We're using Gitea for several things now, it's great. Would be even cooler if this feature lands some day.

FWIW in our case we just need a simple "private" flag we can set on a given comment. Which users can't see unless they have e.g. "can see private comments" permission on their team/role. Basically the same thing Redmine implemented here.

Although if visibility is tied directly to certain team(s) when adding the comment, instead of simple flag, that would be fine too.

Not sure if this is helpful info but wanted to add a +1 to the idea anyway.