summaryrefslogtreecommitdiff
path: root/testing/admin-patches/personal-repo-create.patch
blob: aceb1a1929ccc2041ce0c31f72d32fa2a63b30e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff --git a/rules/createrepo.lace b/rules/createrepo.lace
index 7f31d13..5a82cfa 100644
--- a/rules/createrepo.lace
+++ b/rules/createrepo.lace
@@ -4,7 +4,7 @@
 # so this is for non-admins.
 
 # Uncomment the following to allow repositories in personal/username/
-# allow "Personal repo creation is okay" repo_is_personal
+allow "Personal repo creation is okay" repo_is_personal
 
 # Otherwise the default is that non-admins can't create repositories
 deny "Repository creation is not permitted."
diff --git a/rules/project.lace b/rules/project.lace
index 9d1dc95..57aa544 100644
--- a/rules/project.lace
+++ b/rules/project.lace
@@ -4,7 +4,7 @@
 allow "Owners can always read and write" op_is_basic is_owner
 
 # Uncomment to force read access to repositories in personal/username/
-# allow "Prefix owners can always read and write" repo_is_personal
+allow "Prefix owners can always read and write" repo_is_personal
 
 # Uncomment if you want to *force* anonymous access to all but gitano-admin
 # allow "Anonymous access always allowed" op_read !is_admin_repo