LAN stopt

svn path=/Database/trunk/; revision=9055
This commit is contained in:
Peter Feij
2005-10-24 11:37:32 +00:00
parent 8cc01daa9d
commit e023cf4a6c
4 changed files with 19 additions and 165 deletions

View File

@@ -1,66 +1,16 @@
/* REVISIONS:
*
* 03-11-20000 PF CREATION (concept).
#ifdef BES
/* $Revision: 39 $
* $Modtime: 24-10-05 13:37 $
*/
#include "comsql.h"
#include "fac\fac_hlp.h"
#define DEF_FAC_ROL(c, o) INSERT INTO fac_rol (fac_rol_role, fac_rol_omschrijving) VALUES(c, o)
/*
** Bij installatie van modules moet de tabel FAC_MODULE gevuld of ge-update worden.
*/
_FAC_MODULE('BES','Bestellingenmodule')
/*
** Definieer de rollen voor de RES module en geef de hoofduser (waaronder dit script wordt gedraaid) altijd de hoogste rol.
** NB: Er is (nu nog) geen LAN functionaliteit, dus WEB only!
*/
#ifdef NO_FSN1141
DEF_FAC_ROL (USER||'_BES_SMALL_ROLE' ,'Bestellingen kijken');
DEF_FAC_ROL (USER||'_BES_FULL_ROLE' ,'Bestellingen muteren');
DEF_FAC_ROL (USER||'_BES_ARCHIVE_ROLE','Bestellingen beheren');
DEF_FAC_ENTITY ('MENU_BES_BESTEL' , 'Bestellingen', NULL, NULL,'Orders');
DEF_FAC_ENTITY ('MENU_BES_DISCIPLINE' , 'Categorie<69>n', NULL, NULL,'Categories');
DEF_FAC_ENTITY ('MENU_BES_SRTGROEP' , 'Product'||CHR(38)||'groepen', NULL, NULL,'Product'||CHR(38)||'groups');
DEF_FAC_ENTITY ('MENU_BES_SRTDEEL' , 'Producten', NULL, NULL,'Products');
DEF_FAC_ENTITY ('BES_DISCIPLINE' , 'Categorie', NULL, NULL, 'Category');
DEF_FAC_ENTITY ('BES_SRTGROEP' , 'Productgroepen', NULL, NULL,'Productgroups');
DEF_FAC_ENTITY ('BES_SRTDEEL' , 'Product', NULL, NULL,'Products');
DEF_FAC_ENTITY ('BES_PRODUCTNR' , 'Productnr.', NULL, NULL, 'Product');
DEF_FAC_ENTITY ('BES_VERVALDATUM' , 'Vervaldatum', NULL, NULL, 'Due date');
DEF_FAC_ENTITY ('BES_AFBEELDING' , 'Afbeelding' , NULL, NULL, 'Picture');
DEF_FAC_ENTITY ('BES_DISCIPLINE_OMSCHRIJVING', 'Omschrijving', NULL, NULL, 'Description');
DEF_FAC_ENTITY ('BES_SRTGROEP_OMSCHRIJVING', 'Omschrijving', NULL, NULL, 'Description');
INSERT INTO fac_gebruiker (fac_gebruiker_username,
fac_gebruiker_module,
fac_gebruiker_tabel,
fac_gebruiker_kolom,
fac_gebruiker_kolomkey)
SELECT USER,'FAC','FAC_ROL','FAC_ROL_KEY', fac_rol_key
FROM fac_rol
WHERE fac_rol_role LIKE USER||'_BES_ARCHIVE_ROLE';
/*
** Voeg de functies voor de BES module toe en geef de hoofuser toegang op all functies.
*/
INSERT INTO fac_gebruiker (fac_gebruiker_username,
fac_gebruiker_module,
fac_functie_key,
fac_gebruiker_soort)
SELECT USER,fac_functie_module, fac_functie_key, '1'
FROM fac_functie
WHERE fac_functie_module = 'BES';
#endif
/*
** De ENTITY_NAMES van de BES module.
*/
/*
@@ -519,3 +469,5 @@ insert into fac_usrrap (fac_usrrap_omschrijving, fac_usrrap_view_name,fac_usrrap
values('BES: Samenvatting Cataloguswijzigingen','bes_v_catalogus_verschilovz','Samenvatting van wijzigingen tov huidige catalogus.');
SET DEFINE ON
#endif // BES

View File

@@ -1,52 +1,17 @@
#ifdef BEZ // 03-11-2000 PF
/* REVISIONS:
*
* 03-11-20000 PF CREATION (concept).
/* $Revision: 7 $
* $Modtime: 24-10-05 13:38 $
*/
#include "comsql.h"
#include "fac\fac_hlp.h"
#define DEF_FAC_ROL(c, o) INSERT INTO fac_rol (fac_rol_role, fac_rol_omschrijving) VALUES(c, o)
/*
** Bij installatie van modules moet de tabel FAC_MODULE gevuld of ge-update worden.
*/
_FAC_MODULE('BEZ','Bezoekersregistratie')
#ifdef NO_FSN1141
/*
** Definieer de rollen voor de RES module en geef de hoofduser (waaronder dit script wordt gedraaid) altijd de hoogste rol.
** NB: Er is (nu nog) geen LAN functionaliteit, dus WEB only!
*/
DEF_FAC_ROL (USER||'_BEZ_SMALL_ROLE' ,'Bezoekers kijken');
DEF_FAC_ROL (USER||'_BEZ_FULL_ROLE' ,'Bezoekers muteren');
DEF_FAC_ROL (USER||'_BEZ_ARCHIVE_ROLE','Bezoekers beheren');
INSERT INTO fac_gebruiker (fac_gebruiker_username,
fac_gebruiker_module,
fac_gebruiker_tabel,
fac_gebruiker_kolom,
fac_gebruiker_kolomkey)
SELECT USER,'FAC','FAC_ROL','FAC_ROL_KEY', fac_rol_key
FROM fac_rol
WHERE fac_rol_role LIKE USER||'_BEZ_ARCHIVE_ROLE';
/*
** Voeg de functies voor de BEZ module toe en geef de hoofuser toegang op all functies.
*/
INSERT INTO fac_gebruiker (fac_gebruiker_username,
fac_gebruiker_module,
fac_functie_key,
fac_gebruiker_soort)
SELECT USER,fac_functie_module, fac_functie_key, '1'
FROM fac_functie
WHERE fac_functie_module = 'BEZ';
#endif
/*
** De ENTITY_NAMES van de BEZ module.
*/

View File

@@ -1,42 +1,17 @@
#ifdef CNT
/* CNT_INI.SRC
**
** Revisie:
**
** 01-01-01 EGR Creation.
*/
#include "comsql.h"
#include "fac\fac_hlp.h"
#define DEF_FAC_ROL(c, o) INSERT INTO fac_rol (fac_rol_role, fac_rol_omschrijving) VALUES(c, o)
/* $Revision: 16 $
* $Modtime: 24-10-05 13:39 $
*/
#include "comsql.h"
/*
** Bij installatie van modules moet de tabel FAC_MODULE gevuld of ge-update worden.
*/
_FAC_MODULE('CNT','Contractbeheer')
#ifdef NO_FSN1141
/*
** Definieer de rollen voor de CNT module en geef de hoofduser (waaronder dit script wordt gedraaid) altijd de hoogste rol.
*/
DEF_FAC_ROL (USER||'_CNT_SMALL_ROLE' ,'Contracten bekijken');
DEF_FAC_ROL (USER||'_CNT_FULL_ROLE' ,'Contracten muteren');
DEF_FAC_ROL (USER||'_CNT_ARCHIVE_ROLE','Contracten beheren');
/*
** Voeg de functies voor de CNT module toe en geef de hoofuser toegang op all functies.
*/
INSERT INTO fac_gebruiker (fac_gebruiker_username,
fac_gebruiker_module,
fac_gebruiker_tabel,
fac_gebruiker_kolom,
fac_gebruiker_kolomkey)
SELECT USER,'FAC','FAC_ROL','FAC_ROL_KEY', fac_rol_key
FROM fac_rol
WHERE fac_rol_role LIKE USER||'_CNT_ARCHIVE_ROLE';
#endif
/*
** De ENTITY_NAMES van de CNT module.
*/

View File

@@ -1,53 +1,15 @@
#ifdef RES // 07-12-99 BIV
/* Historie
**
** 25-02-00 EGR Entities, messages etc. uit FAC_INI.src gehaald en in RES_INI.src gezet.
** 03-02-00 EGR Vul de systeemtabel res_cyclus.
** 07-12-99 BIV Creation
*/
/* $Revision: 32 $
* $Modtime: 24-10-05 13:35 $
*/
#include "comsql.h"
#include "fac\fac_hlp.h"
#define DEF_FAC_ROL(c, o) INSERT INTO fac_rol (fac_rol_role, fac_rol_omschrijving) VALUES(c, o)
/*
** Bij installatie van modules moet de tabel FAC_MODULE gevuld of ge-update worden.
*/
* Bij installatie van modules moet de tabel FAC_MODULE gevuld of ge-update worden.
*/
_FAC_MODULE('RES','Reserveringsmodule')
#ifdef NO_FSN1141
/*
** Definieer de rollen voor de RES module en geef de hoofduser (waaronder dit script wordt gedraaid) altijd de hoogste rol.
*/
DEF_FAC_ROL (USER||'_RES_SMALL_ROLE' ,'Reserveringen bekijken');
DEF_FAC_ROL (USER||'_RES_FULL_ROLE' ,'Reserveringen muteren');
DEF_FAC_ROL (USER||'_RES_ARCHIVE_ROLE','Reserveringen beheren');
INSERT INTO fac_gebruiker (fac_gebruiker_username,
fac_gebruiker_module,
fac_gebruiker_tabel,
fac_gebruiker_kolom,
fac_gebruiker_kolomkey)
SELECT USER,'FAC','FAC_ROL','FAC_ROL_KEY', fac_rol_key
FROM fac_rol
WHERE fac_rol_role LIKE USER||'_RES_ARCHIVE_ROLE';
/*
** Voeg de functies voor de RES module toe en geef de hoofuser toegang op all functies.
*/
DEF_FAC_FUNCTIE ('RES_FRONT' , 'Frontoffice reservering', 'RES', 2);
DEF_FAC_FUNCTIE ('RES_OPSTEL', 'Ruimte opstellingen' , 'RES', 2);
INSERT INTO fac_gebruiker (fac_gebruiker_username,
fac_gebruiker_module,
fac_functie_key,
fac_gebruiker_soort)
SELECT USER,fac_functie_module, fac_functie_key, '1'
FROM fac_functie
WHERE fac_functie_module = 'RES';
#endif // NO_FSN1141
#ifdef MS_SQL
_SET_SQLS(IDENTITY_INSERT res_cyclus ON;)