aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/config
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman_pgp/config')
-rw-r--r--src/mailman_pgp/config/mailman_pgp.cfg10
-rw-r--r--src/mailman_pgp/config/schema.cfg6
2 files changed, 13 insertions, 3 deletions
diff --git a/src/mailman_pgp/config/mailman_pgp.cfg b/src/mailman_pgp/config/mailman_pgp.cfg
index d2aa84d..5156651 100644
--- a/src/mailman_pgp/config/mailman_pgp.cfg
+++ b/src/mailman_pgp/config/mailman_pgp.cfg
@@ -89,7 +89,7 @@ change_request_lifetime: 1d
[rest]
-# Allow the acessing of a list private key through the REST API.
+# Allow the accessing of a list private key through the REST API.
# This is necessary for the django-pgpmailman web ui to allow a list owner
# to export the list private key.
allow_read_private_key: yes
@@ -97,4 +97,10 @@ 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
+allow_write_private_key: yes
+
+# Allow the accessing of this plugin configuration through the REST API.
+allow_read_config: yes
+
+# Allow the modification of this plugin configuration through the REST API.
+allow_write_config: no \ No newline at end of file
diff --git a/src/mailman_pgp/config/schema.cfg b/src/mailman_pgp/config/schema.cfg
index ebd4377..cd3a2c4 100644
--- a/src/mailman_pgp/config/schema.cfg
+++ b/src/mailman_pgp/config/schema.cfg
@@ -59,4 +59,8 @@ change_request_lifetime: lazr.config.as_timedelta
[rest]
allow_read_private_key: lazr.config.as_boolean
-allow_write_private_key: lazr.config.as_boolean \ No newline at end of file
+allow_write_private_key: lazr.config.as_boolean
+
+allow_read_config: lazr.config.as_boolean
+
+allow_write_config: lazr.config.as_boolean \ No newline at end of file