summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--groups4
-rw-r--r--project.config17
-rw-r--r--rules.pl2
3 files changed, 23 insertions, 0 deletions
diff --git a/groups b/groups
new file mode 100644
index 0000000..9517e3b
--- /dev/null
+++ b/groups
@@ -0,0 +1,4 @@
+fc3a6d1b01ee1ef316ae2be5c62bb4c54d3f22c0 Non-Interactive Users
+global:Registered-Users Registered Users
+ldap:cn=opnfv-gerrit-genesisreq-submitters,ou=Groups,dc=freestandards,dc=org ldap/opnfv-gerrit-genesisreq-submitters
+ldap:cn=opnfv-gerrit-genesisreq-contributors,ou=Groups,dc=freestandards,dc=org ldap/opnfv-gerrit-genesisreq-contributors
diff --git a/project.config b/project.config
new file mode 100644
index 0000000..ea1d094
--- /dev/null
+++ b/project.config
@@ -0,0 +1,17 @@
+[access]
+ inheritFrom = All-Projects
+[access "refs/heads/*"]
+ label-Code-Review = -2..+2 group ldap/opnfv-gerrit-genesisreq-submitters
+ label-Code-Review = -1..+1 group Registered Users
+ label-Verified = -1..+1 group ldap/opnfv-gerrit-genesisreq-submitters
+ label-Verified = -1..+1 group Non-Interactive Users
+ submit = group ldap/opnfv-gerrit-genesisreq-submitters
+ forgeAuthor = group ldap/opnfv-gerrit-genesisreq-submitters
+ forgeCommitter = group ldap/opnfv-gerrit-genesisreq-submitters
+ forgeAuthor = group ldap/opnfv-gerrit-genesisreq-contributors
+ forgeCommitter = group ldap/opnfv-gerrit-genesisreq-contributors
+[access "refs/tags/*"]
+ create = group ldap/opnfv-gerrit-genesisreq-submitters
+ push = group ldap/opnfv-gerrit-genesisreq-submitters
+ pushTag = group ldap/opnfv-gerrit-genesisreq-submitters
+ pushSignedTag = group ldap/opnfv-gerrit-genesisreq-submitters \ No newline at end of file
diff --git a/rules.pl b/rules.pl
new file mode 100644
index 0000000..5c54419
--- /dev/null
+++ b/rules.pl
@@ -0,0 +1,2 @@
+submit_rule(submit(W)) :-
+ W = label('Any-Label-Name', ok(_)).