You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a GitHub administrator,
I want to dump and diff users of all repositories
So that I can check if some unexpected users have been added or not, or have inconvenient permissions.
Dump and diff here means to have a record of users and permissions for each repo, to be able to load such records, and compare differences between iterations.
Inconvenient permissions here means to have to high privileges for example.
Unexpected users here means people outside the Group.
Pseudocode :
O = Organisation
OM = Organisation Members For O
OOC = Outside Collaborators For O
For Each Project P in O:
PM = Get Membres For P
MPerm = Get Permissions Of PM
For Each Membre M in PM:
If M Is In OC: // Partner, external contributor
Display Member And Warning
Else If M Is Not In OM: // Someone who has left the Group but still in project
Display Member And Warning
Else: // Ok
Display Member
By Display Member* it means display the alias of the member and its permission for this project. Warning means use emoji or something visible to request attention
A JSON report can be produced in parallel of standard output, like:
[ /* Projects in array */
{
"project" : projectName,"warning": emoji,"members": [ /*Project members in arrays*/
{
"alias": memberAlias,"company": memberCompany,"mail": memberEmail,"isOutsideOrganisation": yes/no,"isOutsideCollaboratorOfOrganisation": yes/no,
},
... }...
]
The text was updated successfully, but these errors were encountered:
pylapp
added
feature-GitHub
Enhancement related to the GitHub-based feature
feature-new
Enhancement for a new feature (which has not its GitHub label)
enhancement
New feature or request
and removed
feature-new
Enhancement for a new feature (which has not its GitHub label)
labels
Oct 22, 2021
pylapp
changed the title
GitHub - Dump and diff if users
GitHub - Dump and diff of users
Nov 3, 2021
The need here is to be able to find contributors of projects who are not employees of the organisation owner.
This feature is not so relevant and have a kind of low priority because GItHub exposes already a list of outside collaborators with references to the projects they work on.
Thus if someone has left the company and the organisation, but is still on a project, this person will appear in the list.
If a subcontractor is not in the organisation, but contributes to projects, he or she will appear in the list.
So the pitfall is only to check sometimes that list and be sure only organisation owner employees are invited to join the organisation.
As a GitHub administrator,
I want to dump and diff users of all repositories
So that I can check if some unexpected users have been added or not, or have inconvenient permissions.
Dump and diff here means to have a record of users and permissions for each repo, to be able to load such records, and compare differences between iterations.
Inconvenient permissions here means to have to high privileges for example.
Unexpected users here means people outside the Group.
Pseudocode :
By Display Member* it means display the alias of the member and its permission for this project.
Warning means use emoji or something visible to request attention
A JSON report can be produced in parallel of standard output, like:
The text was updated successfully, but these errors were encountered: