1 -- @tag: right_assortment_edit
2 -- @description: Recht zum Ă„ndern von Sortimentsbestandteilen auch nach Verwendeung
3 -- @depends: release_3_5_7 move_shop_part_edit_right
4 -- @locales: Always edit assortment items (user can change/delete items even if assortments are already used)
6 INSERT INTO auth.master_rights (position, name, description, category)
7 VALUES ((SELECT position + 10 FROM auth.master_rights WHERE name = 'assembly_edit'),
9 'Always edit assortment items (user can change/delete items even if assortments are already used)',
12 INSERT INTO auth.group_rights (group_id, "right", granted)
13 SELECT id, 'assortment_edit', true
15 WHERE name = 'Vollzugriff';