WOMD#62242 leesrechten mlduse

svn path=/Customer/trunk/; revision=46609
This commit is contained in:
Ruud Lipper
2020-04-22 07:32:48 +00:00
parent a019048f18
commit 13c0f62000

View File

@@ -223,6 +223,17 @@ INSERT INTO fac_groeprechten (fac_groep_key, fac_functie_key, ins_discipline_key
AND d.ins_discipline_verwijder IS NULL
AND d.ins_srtdiscipline_key = 1;
INSERT INTO fac_groeprechten (fac_groep_key, fac_functie_key, ins_discipline_key,
fac_gebruiker_prs_level_read, fac_gebruiker_prs_level_write, fac_gebruiker_alg_level_read, fac_gebruiker_alg_level_write)
SELECT
(SELECT fac_groep_key FROM fac_groep WHERE fac_groep_upper = 'NEN2767-R: LEESRECHTEN'),
fac_functie_key,
d.ins_discipline_key,
-1, 9, -1, 9
FROM fac_functie, mld_discipline d
WHERE fac_functie_code = 'WEB_MLDUSE'
AND d.ins_discipline_verwijder IS NULL
AND d.ins_srtdiscipline_key = 1;
-- NEN2767-W: Schrijfrechten
INSERT INTO fac_groeprechten (fac_groep_key, fac_functie_key, ins_discipline_key,