FSN#35733 betere _FACILITOR autorisatie. 3 maal is scheepsrecht

svn path=/Database/trunk/; revision=28436
This commit is contained in:
Jos Groot Lipman
2016-03-10 12:46:10 +00:00
parent 8d636a9340
commit 621a3d562d
4 changed files with 10 additions and 6 deletions

View File

@@ -2111,6 +2111,8 @@ INSERT INTO fac_notificatie_job (fac_notificatie_job_view, fac_notificatie_job_o
INSERT INTO fac_notificatie_job (fac_notificatie_job_view, fac_notificatie_job_oms, fac_notificatie_job_interval, fac_notificatie_job_mode)
VALUES ('fac_v_noti_finreminder', 'Fiatteringsverzoek voor facturen naar budgethouder', 24, 0);
// Settings hebben fac_functies nodig dus na fac_ini.src
#include "fac_set.src"
/* bootstrapping: we need a user to create users
so the minimal requirements for starting are created here:

View File

@@ -120,8 +120,6 @@ SET ECHO ON
/* INITIALISATIES */
#include "fac\fac_ini.src"
// Settings hebben fac_functies nodig dus na fac_ini.src
#include "fac\fac_set.src"
#include "alg\alg_ini.src"
#include "ins\ins_ini.src"
#include "prs\prs_ini.src"

View File

@@ -300,6 +300,12 @@ DEF_FAC_FUNCTIE2('WEB_FACFAC', 'Beheer:FACILITOR intern beheer', 'FAC', 0, 0,
DEF_FAC_FUNCTIE2('WEB_APIDOC', 'Beheer:API documentatie', 'FAC', 0, 0, NULL, 'Kan online API documentatie opvragen');
DEF_FAC_FUNCTIE2('WEB_UDRMAN', 'Beheer:Rapportages', 'FAC', 0, 0, 2, 'Om rapportages te kunnen defini<6E>ren.');
ALTER TABLE fac_setting ADD fac_functie_key NUMBER(10)
CONSTRAINT fac_r_setting_functie REFERENCES fac_functie(fac_functie_key);
ALTER PACKAGE fac COMPILE; // anders (nog) invalid en lukt insert niet
ALTER PACKAGE fac COMPILE BODY;
INSERT INTO fac_groeprechten
( fac_groep_key
, fac_functie_key
@@ -333,9 +339,6 @@ INSERT INTO fac_gebruikersgroep
WHERE fac_groep_upper = '_FACILITOR'
AND prs_perslid_oslogin = '_FACILITOR';
ALTER TABLE fac_setting ADD fac_functie_key NUMBER(10)
CONSTRAINT fac_r_setting_functie REFERENCES fac_functie(fac_functie_key);
-- De _FACILITOR groep krijgt PRS_FACFAC/PRS_FACTAB
INSERT INTO fac_groeprechten
(fac_groep_key,
@@ -373,6 +376,7 @@ _UDR_ rapportages omzetten naar WEB_UDRMAN
/////////////////////////////////////////////////////////////////////////////////////////// CLEANUP
DROP VIEW MLD_V_UDR_MELDINGKENMERK;
DROP VIEW MLD_V_UDR_OPDRACHTKENMERK;
///////////////////////////////////////////////////////////////////////////////////////////
REGISTERONCE('$Id$')
#include "epilogue.inc"

View File

@@ -65,7 +65,7 @@
#include "mld\mld_lcl.src"
#include "res\res_lcl.src"
/* SETTINGS's. Bij CREA-script doen we ze iets later in FCLT.SRC */
/* SETTINGS's. Bij CREA-script doen we ze iets later in FAC_INI.SRC */
#ifndef FCLT_CREATE
#include "fac\fac_set.src"
#endif