diff development.ini @ 7770:6da70f4569bf

ssh: introduce ini setting 'ssh_enabled', disabled by default Administrators should control the use of SSH and may want to disable SSH access, temporarily or permanently. An explicit setting ssh_enabled is better than e.g. checking for a valid ssh_authorized_keys setting, to allow such trivial temporary disabling. To keep the controllers simple, introduce a decorator IfSshEnabled instead of repeating the same config checks in every method.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Fri, 19 Jul 2019 01:12:35 +0200
parents 609d52bbf917
children b27e515df83c
line wrap: on
line diff
--- a/development.ini	Mon Nov 17 14:40:35 2014 -0500
+++ b/development.ini	Fri Jul 19 01:12:35 2019 +0200
@@ -226,6 +226,13 @@
 #    CHANGELOG
 
 ####################################
+###           SSH CONFIG        ####
+####################################
+
+## SSH is disabled by default, until an Administrator decides to enable it.
+ssh_enabled = false
+
+####################################
 ###        CELERY CONFIG        ####
 ####################################