changeset 34779:cfb054a7ecc4

configitems: register acl config section
author Boris Feld <boris.feld@octobus.net>
date Sat, 14 Oct 2017 01:15:01 +0200
parents bf138446ac2f
children 070ba789f4d0
files hgext/acl.py
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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'],
 )