Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 3c041ec8

Von Tamino Steinert vor mehr als 2 Jahren hinzugefügt

  • ID 3c041ec80c08a001c22697eb70d0da505d13459a
  • Vorgänger 5f40467f
  • Nachfolger 922579a4

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