Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942285 - Github Teams are private
Summary: Github Teams are private
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Infrastructure
Classification: Unclassified
Component: GitHub (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: GitHub support
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-26 12:53 UTC by Emanuele Torre
Modified: 2024-10-26 13:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Emanuele Torre 2024-10-26 12:53:20 UTC
When opening a PR on https://github.com/gentoo/gentoo for a package that
is maintained by a project (e.g. Project:Base), gentoo-bot will reply
with a comment that says that pull request has been assigned to e.g.
@gentoo/base-system, that is supposed to be the name of a team in the
https://github.com/gentoo github organisation.

However regular users have no way to tell that gentoo-bot pinged the
members of the team on github because they see "@gentoo/base-system" as
plain text. I found this very confusing.

It would be nice if at least the visibilty of the names of the teams of
the github organisation that can be mentioned by gentoo-bot could be
made public to allow users to easily tell that someone on github has
been pinged for the PR.

Reproduce by opening https://github.com/gentoo/gentoo/pull/38955 in an
incognito/private browser window to see what a regular user that doesn't
have permissions to see the github teams sees.

o/
 emanuele6
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-10-26 13:07:58 UTC
Any clue how to change that?  All our teams are marked as "visible" (i.e. public).
Comment 2 Emanuele Torre 2024-10-26 13:16:04 UTC
(In reply to Michał Górny from comment #1)
> Any clue how to change that?  All our teams are marked as "visible" (i.e.
> public).


I assumed it would be a possible thing to do.

I have just checked the github documentation to try figure out how to do
it, but it appears it's just impossible:

> Teams can be visible or secret:
> 
> * Visible teams can be viewed and @mentioned by every organization
>    member.
> * Secret teams are only visible to the people on the team and people
>   with owner permissions. They're great for hiding teams with
>   sensitive names or members, such as those used for working with
>   external partners or clients. Secret teams cannot be nested under
>   parent teams or have child teams.
> 
> People who are not members of the organization cannot view any teams.

There is no way to make teams visible to outsiders of the organisation
unfortunately. :-(

o/
 emanuele6
Comment 3 Emanuele Torre 2024-10-26 13:16:57 UTC
I forgot to post a link to the documentation with the quote in the
previous message:
https://docs.github.com/en/organizations/organizing-members-into-teams/changing-team-visibility

o/
 emanuele6