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.
diff --git a/groups b/groups
index 3e15e53..62702ec 100644
--- a/groups
+++ b/groups
@@ -1,3 +1,4 @@
# UUID Group Name
#
61317511a4a11254cbbf9612896412663548965a Administrators
+global:Registered-Users Registered Users
diff --git a/project.config b/project.config
index 0cd0c33..fc2aee7 100644
--- a/project.config
+++ b/project.config
@@ -1,9 +1,14 @@
[project]
description = Individual user settings and preferences.
[access "refs/users/*"]
- exclusiveGroupPermissions = read
[access "refs/users/default"]
exclusiveGroupPermissions = read create push
read = group Administrators
create = group Administrators
push = group Administrators
+[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