aboutsummaryrefslogtreecommitdiff
path: root/src/mailman_pgp/config
diff options
context:
space:
mode:
authorJ08nY2017-08-16 23:23:35 +0200
committerJ08nY2017-08-16 23:23:35 +0200
commitcc16622a79975a7e67eac98316ac032711f2add6 (patch)
treea4b095583104031d7e6fddcf94ce70e3eba0229d /src/mailman_pgp/config
parente979464e4cd836cdbfffbb2b803edb71b21a3a86 (diff)
downloadmailman-pgp-cc16622a79975a7e67eac98316ac032711f2add6.tar.gz
mailman-pgp-cc16622a79975a7e67eac98316ac032711f2add6.tar.zst
mailman-pgp-cc16622a79975a7e67eac98316ac032711f2add6.zip
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