Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a52a2f81

Von Tamino Steinert vor mehr als 2 Jahren hinzugefügt

  • ID a52a2f812c1d65fa3629b9c927bdb4d996c2e737
  • Vorgänger 06c284ad
  • Nachfolger 9a18eb21

Reclamation: add master_rights

Unterschiede anzeigen:

sql/Pg-upgrade2-auth/rights_for_reclamation.sql
-- @tag: rights_for_reclamation
-- @description: Add rights for reclamation
-- @depends: release_3_5_7
-- @locales: Create and edit sales reclamation
-- @locales: Create and edit purchase reclamation
INSERT INTO auth.master_rights (position, name, description, category)
VALUES (1150, 'sales_reclamation_edit', 'Create and edit sales reclamation', false);
INSERT INTO auth.group_rights (group_id, "right", granted)
SELECT id, 'sales_reclamation_edit', true
FROM auth.group
WHERE name = 'Vollzugriff';
INSERT INTO auth.master_rights (position, name, description, category)
VALUES (2450, 'purchase_reclamation_edit', 'Create and edit purchase reclamation', false);
INSERT INTO auth.group_rights (group_id, "right", granted)
SELECT id, 'purchase_reclamation_edit', true
FROM auth.group
WHERE name = 'Vollzugriff';

Auch abrufbar als: Unified diff