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
new file mode 100644
index 0000000..6582984
--- /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 7377e25..026ce6d 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