summary refs log tree commit diff
path: root/project.config
diff options
context:
space:
mode:
authortazjin <tazjin@tvl.su>2022-01-14T18·22+0000
committertazjin <tazjin@tvl.su>2022-01-14T18·44+0000
commit3b32d97eb78d7f3c704f9b1df4ed31bd6c4fb7ce (patch)
tree3a0301cde9602dd72ed23112d15bc39accebfb01 /project.config
parent6c6fcecf2c8592194a5b2d3e56b38cc26cefaa51 (diff)
refactor: Restrict patchset creation to authorised users
Not everyone who logs in should be able to create patchsets immediately
without at least saying hi on IRC (or wherever) and being added to
tvl-community.

Change-Id: I172657b728ce26be3dc98729259c38bffd5f2d4a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/4902
Reviewed-by: lukegb <lukegb@tvl.fyi>
Tested-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'project.config')
-rw-r--r--project.config5
1 files changed, 5 insertions, 0 deletions
diff --git a/project.config b/project.config
index c70d5e13ed..bfe52a1bbd 100644
--- a/project.config
+++ b/project.config
@@ -83,3 +83,8 @@
 	push = +force group depot-interventions
 	read = group Anonymous Users
 	create = group depot-interventions
+[access "refs/for/*"]
+	exclusiveGroupPermissions = addPatchSet
+	addPatchSet = group Administrators
+	addPatchSet = group tvl-community
+	addPatchSet = group tvl-employees