From: Banana Date: Thu, 7 Jan 2021 09:53:53 +0000 (+0100) Subject: jdoc cleanup X-Git-Tag: 1.1~36 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=cf04a3d2e186ea39c04078447965cf9b620f3d77;p=bibliotheca-php.git jdoc cleanup --- diff --git a/upgrade/from-version-1.0.txt b/upgrade/from-version-1.0.txt index 36e2785..76ccad7 100644 --- a/upgrade/from-version-1.0.txt +++ b/upgrade/from-version-1.0.txt @@ -1,3 +1,8 @@ # Migration of the config files into one config file Please copy the new config/config.php.default to config/config.php and adapt the settings which you have on the old config files. After that you can delete config/database|path|system files. + +# DB changes. Run each line against your bibliotheca DB +UPDATE `bib_menu` SET `rights` = 'rw-rw----' WHERE `bib_menu`.`id` = 10; +UPDATE `bib_menu` SET `group` = '2' WHERE `bib_menu`.`id` = 10; +INSERT INTO `bib_menu` (`id`, `text`, `action`, `icon`, `owner`, `group`, `rights`, `position`, `category`) VALUES (NULL, 'Profile', 'profile', 'user', '1', '2', 'rw-rw----', '5', 'manage'); diff --git a/webclient/api.php b/webclient/api.php index cce16fd..ce077a6 100644 --- a/webclient/api.php +++ b/webclient/api.php @@ -1,6 +1,6 @@