Add setting to allow/disallow quick editing of records

Adds an `allow_quick_edit` setting, using the improved setting handling logic from PR #287 to toggle whether records are editable by simply clicking the row or not.

Aims to fix #288
This commit is contained in:
Thomas M Steenholdt
2018-06-22 14:55:23 -02:00
parent 1bccc34c16
commit 31305a3048
3 changed files with 8 additions and 5 deletions

View File

@ -1717,7 +1717,8 @@ class Setting(db.Model):
'login_ldap_first': 'True',
'default_record_table_size': 15,
'default_domain_table_size': 10,
'auto_ptr': 'False'
'auto_ptr': 'False',
'allow_quick_edit': 'True'
}
def __init__(self, id=None, name=None, value=None):