Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c9968922

Von Tamino Steinert vor mehr als 2 Jahren hinzugefügt

  • ID c99689227e9f27de40cd5a85875abb0d1b420813
  • Vorgänger f9e76b02
  • Nachfolger 42d83fdf

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