baloise / org

GitHub org settings, teams and memberships
Apache License 2.0
0 stars 29 forks source link

Cleanup / sort / re-organize Baloise Github Orga Groups, permissions, memberships, ... #13

Open MarkusTiede opened 3 years ago

MarkusTiede commented 3 years ago

KISS

MarkusTiede commented 3 years ago

crrnt

MarkusTiede commented 3 years ago

idea(s)

open question(s)

current state

next step : ✅

v0

Organization ✅

Teams ✅

Repository ❌

christiansiegel commented 3 years ago

How does the kubernetes project use peribolos?:

Even the kubernetes org doesn't seem to sync repo permissions via peribolos: https://github.com/kubernetes/org/blob/e1e8ec86d24aab7998a9804c7e996c6ca99117f7/admin/BUILD.bazel#L10-L13 Instead, they have 1..n teams per repo (could also be a group of repos): e.g. here https://github.com/kubernetes/org/blob/e1e8ec86d24aab7998a9804c7e996c6ca99117f7/config/kubernetes/org.yaml#L1563 Only admins (or bot admins) can create new repos. Default member repo permission is read. Probably the admins assign the team to the repos manually (or via the api) on creation.

Another interesting approach is to have only one org repo for all kubernetes github organizations. We could move the baloise-incubator config in here to reduce duplicated automation code. Also, having a dedicated baloise-retired org for alumni (or/and archived repos) may be a solution to restrict access.