Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frank-dspeed/1f47a9cdd306f3cbd1e522190d99af96 to your computer and use it in GitHub Desktop.
Save frank-dspeed/1f47a9cdd306f3cbd1e522190d99af96 to your computer and use it in GitHub Desktop.
Topic Complex User Management on Github and gitlab for Big Distributed Organisations

Topic Complex User Management on Github and gitlab for Big Distributed Organisations

You will learn how to create so called right repos they are like block chains for User Authorization and Access rules in a universal fassion they consist of key value pairs space seperated and a additional project config

groups

# UUID                                  	Group Name
#
90ae353754880d03a2d1d10f7d14f56da93d2624	chrome-infra-team

project.config

[access]
	inheritFrom = All-Projects
[access "refs/*"]
	create = group chrome-infra-team
	forgeAuthor = group chrome-infra-team
	forgeCommitter = group chrome-infra-team
	push = group chrome-infra-team
	pushMerge = group chrome-infra-team
[access "refs/for/*"]
	exclusiveGroupPermissions = create push
[access "refs/for/refs/*"]
	exclusiveGroupPermissions = push

all repo mergs pushes and all that get done via a user agnostic internal workflow call that examins the project access config and then executes

this is similar to smart contracts in etherium they are the git equivalent of smart contracts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment