From e86fa37875c823e32d44cb11a0f50a0138db381a Mon Sep 17 00:00:00 2001 From: Megan Watson Date: Mon, 22 Dec 2008 12:45:34 +0000 Subject: [PATCH] KTS-4010 - Changed documents directory config setting to be editable "Document directory variable in General Settings is hidden" --- sql/mysql/install/data.sql | 2 +- sql/mysql/upgrade/3.5.5/document_config.sql | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 sql/mysql/upgrade/3.5.5/document_config.sql diff --git a/sql/mysql/install/data.sql b/sql/mysql/install/data.sql index fed9df8..0b0d84b 100644 --- a/sql/mysql/install/data.sql +++ b/sql/mysql/install/data.sql @@ -266,7 +266,7 @@ INSERT INTO `config_settings` VALUES (91, 'cache', 'Cache Enabled', 'Enables the KnowledgeTree cache. Default is \'False\'.', 'cacheEnabled', 'default', 'false', 'boolean', NULL, 1), (92, 'cache', 'Cache Directory', 'The location of the KnowledgeTree cache.', 'cacheDirectory', 'default', '${varDirectory}/cache', 'string', NULL, 1), (93, 'openoffice', 'Program Path', 'Defines the path to the OpenOffice program directory. ', 'programPath', 'default', '../openoffice/program', 'string', NULL, 1), -(94, 'urls', 'Document Directory', 'The path to the documents directory', 'documentRoot', 'default', '${varDirectory}/Documents', 'string', NULL, 0), +(94, 'urls', 'Document Directory', 'The path to the documents directory', 'documentRoot', 'default', '${varDirectory}/Documents', 'string', NULL, 1), (95, 'KnowledgeTree', 'Redirect To Browse View', 'Defines whether to redirect to the Browse view (Browse Documemts) on login, instead of the Dashboard.
Default is \'False\'. ', 'redirectToBrowse', 'default', 'false', 'boolean', NULL, 1), (96, 'KnowledgeTree', 'Redirect To Browse View: Exceptions', 'Specifies that, when \'Redirect To Browse\' is set to \'True\' all users, except for the users listed in the text field below are redirected to the Browse view on log in. The users listed for this setting are directed to the KnowledgeTree Dashboard. To define exceptions, add user names in the text field as follows, e.g. admin, joebloggs, etc.', 'redirectToBrowseExceptions', '', '', 'string', NULL, 1), (97, 'session', 'Allow Automatic Sign In', 'Defines whether to automatically create a user account on first login for any user who does not yet exist in the system. Default is \'False\'.', 'allowAutoSignup', 'default', 'false', 'boolean', 'string', 1), diff --git a/sql/mysql/upgrade/3.5.5/document_config.sql b/sql/mysql/upgrade/3.5.5/document_config.sql new file mode 100644 index 0000000..b605a1f --- /dev/null +++ b/sql/mysql/upgrade/3.5.5/document_config.sql @@ -0,0 +1 @@ +UPDATE config_settings SET can_edit = 1 WHERE item = 'documentRoot'; \ No newline at end of file -- libgit2 0.21.4