aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/config
diff options
context:
space:
mode:
authorJ08nY2017-08-15 20:18:45 +0200
committerJ08nY2017-08-15 20:18:45 +0200
commita490ae84fe34afdd87edfeaa14d3d35cdd414487 (patch)
tree09747c86ebde789113a733df480b502ef6459124 /src/mailman_pgp/config
parent9cb00a1ea2f6d9bafeceb664aed4123764d9e81e (diff)
downloadmailman-pgp-a490ae84fe34afdd87edfeaa14d3d35cdd414487.tar.gz
mailman-pgp-a490ae84fe34afdd87edfeaa14d3d35cdd414487.tar.zst
mailman-pgp-a490ae84fe34afdd87edfeaa14d3d35cdd414487.zip
Diffstat (limited to 'src/mailman_pgp/config')
-rw-r--r--src/mailman_pgp/config/mailman_pgp.cfg11
-rw-r--r--src/mailman_pgp/config/schema.cfg4
2 files changed, 11 insertions, 4 deletions
diff --git a/src/mailman_pgp/config/mailman_pgp.cfg b/src/mailman_pgp/config/mailman_pgp.cfg
index 756d16e..d2aa84d 100644
--- a/src/mailman_pgp/config/mailman_pgp.cfg
+++ b/src/mailman_pgp/config/mailman_pgp.cfg
@@ -89,7 +89,12 @@ change_request_lifetime: 1d
[rest]
-# Allow the acessing/modification of a list private key through the REST API?
+# Allow the acessing of a list private key through the REST API.
# This is necessary for the django-pgpmailman web ui to allow a list owner
-# to change/export the list private key.
-expose_private_key: yes \ No newline at end of file
+# to export the list private key.
+allow_read_private_key: yes
+
+# Allow the modification of a list private key through the REST API?
+# This is necessary for the django-pgpmailman web ui to allow a list owner
+# to change the list private key.
+allow_write_private_key: yes \ No newline at end of file
diff --git a/src/mailman_pgp/config/schema.cfg b/src/mailman_pgp/config/schema.cfg
index 92c3f1a..ebd4377 100644
--- a/src/mailman_pgp/config/schema.cfg
+++ b/src/mailman_pgp/config/schema.cfg
@@ -57,4 +57,6 @@ change_request_lifetime: lazr.config.as_timedelta
[rest]
-expose_private_key: lazr.config.as_boolean \ No newline at end of file
+allow_read_private_key: lazr.config.as_boolean
+
+allow_write_private_key: lazr.config.as_boolean \ No newline at end of file