From 20ec1b54fa50d6cdf17926c8885de4eb0c0cbc84 Mon Sep 17 00:00:00 2001 From: Katrin Fischer Date: Mon, 28 May 2018 22:17:46 +0000 Subject: [PATCH] Bug 3849: (follow-up) Add database update to change descriptions Signed-off-by: Jonathan Druart --- .../mysql/atomicupdate/bug_20793_reword_acq_permissions.sql | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_20793_reword_acq_permissions.sql diff --git a/installer/data/mysql/atomicupdate/bug_20793_reword_acq_permissions.sql b/installer/data/mysql/atomicupdate/bug_20793_reword_acq_permissions.sql new file mode 100644 index 0000000000..384f8605da --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_20793_reword_acq_permissions.sql @@ -0,0 +1,11 @@ +UPDATE permissions SET description = 'Manage budgets' WHERE code = 'period_manage'; +UPDATE permissions SET description = 'Manage funds' WHERE code = 'budget_manage'; +UPDATE permissions SET description = 'Modify funds (can''t create lines, but can modify existing ones)' WHERE code = 'budget_modify'; +UPDATE permissions SET description = 'Manage baskets and order lines' WHERE code = 'order_manage'; +UPDATE permissions SET description = 'Manage all baskets and order lines, regardless of restrictions on them' WHERE code = 'order_manage_all'; +UPDATE permissions SET description = 'Manage basket groups' WHERE code = 'group_manage'; +UPDATE permissions SET description = 'Receive orders and manage shipments' WHERE code = 'order_receive'; +UPDATE permissions SET description = 'Add and delete funds (but can''t modify funds)' WHERE code = 'budget_add_del'; +UPDATE permissions SET description = 'Manage all funds' WHERE code = 'budget_manage_all'; + +/* Bug 3849: Rephrase acquisition permissions to be more clear */ -- 2.11.0