configitems: register acl config section
authorBoris Feld <boris.feld@octobus.net>
Sat, 14 Oct 2017 01:15:01 +0200
changeset 34779 cfb054a7ecc4
parent 34778 bf138446ac2f
child 34780 070ba789f4d0
configitems: register acl config section
hgext/acl.py
--- a/hgext/acl.py	Sat Oct 14 00:34:46 2017 +0200
+++ b/hgext/acl.py	Sat Oct 14 01:15:01 2017 +0200
@@ -218,6 +218,26 @@
 configitem('acl', 'config',
     default=None,
 )
+configitem('acl.groups', '.*',
+    default=None,
+    generic=True,
+)
+configitem('acl.deny.branches', '.*',
+    default=None,
+    generic=True,
+)
+configitem('acl.allow.branches', '.*',
+    default=None,
+    generic=True,
+)
+configitem('acl.deny', '.*',
+    default=None,
+    generic=True,
+)
+configitem('acl.allow', '.*',
+    default=None,
+    generic=True,
+)
 configitem('acl', 'sources',
     default=lambda: ['serve'],
 )