From 60568680fc9265e6fb439c544108e45088fff7c1 Mon Sep 17 00:00:00 2001 From: Alex Sassmannshausen Date: Thu, 4 May 2017 16:29:33 +0200 Subject: [PATCH] Bug 11897: Follow up: Update userflags/permission id. * installer/data/mysql/atomicupdate/stockrot_tables.sql: Set the ID for permissions and userflags to 22. Signed-off-by: Kathleen Milne --- installer/data/mysql/atomicupdate/stockrot_tables.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/atomicupdate/stockrot_tables.sql b/installer/data/mysql/atomicupdate/stockrot_tables.sql index d6cf26b003..7dc381e496 100644 --- a/installer/data/mysql/atomicupdate/stockrot_tables.sql +++ b/installer/data/mysql/atomicupdate/stockrot_tables.sql @@ -55,8 +55,8 @@ INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type) V -- Permissions INSERT IGNORE INTO userflags (bit, flag, flagdesc, defaulton) VALUES - (21, 'stockrotation', 'Manage stockrotation operations', 0); + (22, 'stockrotation', 'Manage stockrotation operations', 0); INSERT IGNORE INTO permissions (module_bit, code, description) VALUES - (21, 'can_edit_rotas', 'Create, edit and delete rotas'), - (21, 'can_add_items_rotas', 'Add and remove items from rotas'); + (22, 'can_edit_rotas', 'Create, edit and delete rotas'), + (22, 'can_add_items_rotas', 'Add and remove items from rotas'); -- 2.13.4