From 2e5cbfd988433abf355fdae94fc040451086d9ad Mon Sep 17 00:00:00 2001 From: Gerrit Code Review Date: Thu, 29 Aug 2019 12:02:45 +0200 Subject: [PATCH] Assign default permissions on user branches By default each user should be able to read and update the own user branch. Also the user should be able to approve and submit changes for the own user branch. Assign default permissions for this and remove the old exclusive read protection from the user branches. --- groups | 3 +++ project.config | 7 ++++++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 groups diff --git a/groups b/groups new file mode 100644 index 00000000..65829843 --- /dev/null +++ b/groups @@ -0,0 +1,3 @@ +# UUID Group Name +# +global:Registered-Users Registered Users diff --git a/project.config b/project.config index 7377e257..026ce6d6 100644 --- a/project.config +++ b/project.config @@ -1,4 +1,9 @@ [project] description = Individual user settings and preferences. [access "refs/users/*"] - exclusiveGroupPermissions = read +[access "refs/users/${shardeduserid}"] + read = +force group Registered Users + push = +force group Registered Users + label-Code-Review = -2..+2 group Registered Users + label-Verified = -1..+1 group Registered Users + submit = +force group Registered Users -- 2.25.1