FSN#35733 Diverse plekken PRSSYS-->FACTAB die nog strenger is

svn path=/Website/trunk/; revision=28471
This commit is contained in:
Jos Groot Lipman
2016-03-14 11:39:30 +00:00
parent e34857125a
commit 823a3382d6
12 changed files with 37 additions and 33 deletions

View File

@@ -19,7 +19,7 @@ DOCTYPE_Disable = 1;
<!-- #include file="../Shared/json2.js" -->
<%
user.checkAutorisation("WEB_PRSSYS");
user.checkAutorisation("WEB_FACTAB");
if (Server.ScriptTimeout<600) Server.ScriptTimeout=600;
oSLNKDWF = new ActiveXObject("SLNKDWF.About");
@@ -100,7 +100,7 @@ if (!fso.FileExists(fullnameDWF))
version += "<br>= " + (pSLNKEvent.viewmaxX-pSLNKEvent.viewminX).toFixed(accuracy)+"x"+
(pSLNKEvent.viewmaxY-pSLNKEvent.viewminY).toFixed(accuracy) + "mm";
version += "<br>= " + ((pSLNKEvent.viewmaxX-pSLNKEvent.viewminX)*
version += "<br>= " + ((pSLNKEvent.viewmaxX-pSLNKEvent.viewminX)*
(pSLNKEvent.viewmaxY-pSLNKEvent.viewminY) / 1e6).toFixed(2) + "m<sup>2</sup>";
ext.html(version);
}

View File

@@ -15,7 +15,7 @@ DOCTYPE_Disable = 1;
<!--#include file='../Shared/common.inc'-->
<!--#include file="../SlnkDWF/Slnk2IMG.inc" -->
<%
user.checkAutorisation("WEB_PRSSYS");
user.checkAutorisation("WEB_FACTAB");
if (Server.ScriptTimeout<600) Server.ScriptTimeout=600;
dwfPath = getQParam("dwf");

View File

@@ -3,11 +3,11 @@
$Revision$
$Id$
File: fac_settings_list.asp
File: fac_admtracking_list.asp
Description: Toont db-upgrade tracking
Parameters: zoek: optioneel filenaam (wildcard)
Context: INTERNAL USE
Requires: WEB_PRSSYS autorisatie
Requires: WEB_FACTAB autorisatie
Note:
*/ %>
@@ -32,7 +32,7 @@ FCLTHeader.Requires({ plugins: ["jQuery"] })
<body id="listbody">
<%
var autfunction = "WEB_PRSSYS";
var autfunction = "WEB_FACTAB";
var authparams = user.checkAutorisation(autfunction);
var sqln = "SELECT UPPER(adm_tracking_name) adm_tracking_name, "

View File

@@ -4,10 +4,9 @@
$Id$
File: fac_admtracking_search.asp
Status: 40%
Description: Toont db-upgrade tracking
Parameters: ??
Context: Via URL (alleen prssys)
Context: Via URL (alleen FACTAB)
Note: For internal use only
*/ %>
@@ -17,7 +16,7 @@
<%
FCLTHeader.Requires({plugins:["jQuery"], js: []});
var autfunction = "WEB_PRSSYS";
var autfunction = "WEB_FACTAB";
var authparams = user.checkAutorisation(autfunction);
%>
<html>

View File

@@ -10,13 +10,13 @@
Globals: --
Result: Environment set, confirmed to screen
Context: Direct by URL
Note: Requires WEB_PRSSYS authorization
Note: Requires WEB_FACTAB authorization
*/ %>
<!-- #include file="../Shared/common.inc" -->
<%
var autfunction = "WEB_PRSSYS";
var autfunction = "WEB_FACTAB";
var authparams = user.checkAutorisation(autfunction);
%>
<html>

View File

@@ -100,7 +100,7 @@ function prettyJson(j)
var rst = new ResultsetTable({ sql: sqln,
keyColumn: "fac_setting_key",
ID: "settingstable",
title : "Settings",
title : "Settings (<span style='font-size:smaller'>cache {0}</span>)".format(toDateTimeString(new Date(Application("SET_TM_" + customerId)))),
showAll: showall,
outputmode: outputmode
});

View File

@@ -10,7 +10,7 @@
Description: Verify FACILITOR inrichting
Parameters:
Context: Manual call
Note: PRSSYS authorization is required
Note: FACTAB authorization is required
Lokaal op de webserver werkt mogelijk het volgende zonder inloggen
http://localhost/appl/fac/fac_verify.asp?fac_id=XXXX
Als je echt niet kunt inloggen in FACILITOR gebruik dan
@@ -28,7 +28,7 @@ if (Request.ServerVariables("REMOTE_ADDR") == Request.ServerVariables("LOCAL_ADD
<%
if (typeof "ANONYMOUS_Allowed" == "undefined")
{
var autfunction = "WEB_PRSSYS";
var autfunction = "WEB_FACTAB";
var authparams = user.checkAutorisation(autfunction);
}
%>

View File

@@ -11,7 +11,7 @@
Description: Verify Facilitor database consistency
Parameters:
Context: Manual call to check database consistency
Note: PRSSYS authorization is required
Note: FACTAB authorization is required
tenzij we in de ontwikkelomgeving zitten
TODO: - userraps die niet als view/tabel terug te vinden zijn
- mld_melding records waar de mld_ins_disicpline niet match met std_melding (gebeurt al?)
@@ -27,7 +27,7 @@ if (Application("otap_environment") == "O")
<%
if (Application("otap_environment") != "O")
{
var autfunction = "WEB_PRSSYS";
var autfunction = "WEB_FACTAB";
var authparams = user.checkAutorisation(autfunction);
}

View File

@@ -12,12 +12,11 @@
Context: Manual call to check asp file consistency
Werkt in combinatie met de geautomatiseerde mkRelease
die in de appl-folder een .sha file met checksums plaatst.
Note: PRSSYS authorization is required
TODO: -
Note: FACTAB authorization is required
*/ %>
<!--#include file="../Shared/common.inc"-->
<%
var autfunction = "WEB_PRSSYS";
var autfunction = "WEB_FACTAB";
var authparams = user.checkAutorisation(autfunction);
if (Server.ScriptTimeout<600) Server.ScriptTimeout=600;

View File

@@ -55,7 +55,7 @@ function generateHeader()
if (user_key != -1) {
if (parseInt(schemaversion,10) < parseInt(FCLTMinDatabaseSchema,10))
{
if (user.checkAutorisation("WEB_PRSSYS", true))
if (user.checkAutorisation("WEB_FACTAB", true))
Response.Write("<div id='badschema' title='"+Oracle.RealConnection.Properties("User Name")+'@'+Oracle.RealConnection.Properties("Data source")+"'>BAD SCHEMA. Need DB"+FCLTMinDatabaseSchema+" have DB"+schemaversion+"</div>");
// else: gewone users niet direct lastigvallen.
// tijdens een (nieuw ingrijpende) hot-upgrade staan we het gewoon eventjes toe.

View File

@@ -1,14 +1,20 @@
<%
// SESSION must be started like: http://sgf12/facilitorwork/?logging=3
// param '&logging=getal'
//
// geen waarde-->In ieder geval serverside loggen zoals nu ook-->Identiek aan getal==1
// getal is bitwise:
// &1->serverside loggen
// &2->serverside logwindow openen op client
// &8->Bewaar tempfiles van Facilitor Graphics
// &32->Facmgt loggen (deels)
//
<% /*
$Revision$
$Id$
File: shared/logger.inc
Context: iframe vanuit appl/fac/Facilitor.asp
Note: SESSION must be started like: http://facws002/trunk/?logging=3
param '&logging=getal'
geen waarde-->In ieder geval serverside loggen zoals nu ook-->Identiek aan getal==1
getal is bitwise:
&1->serverside loggen
&2->serverside logwindow openen op client
&8->Bewaar tempfiles van Facilitor Graphics
&32->Facmgt loggen (deels)
*/
function us_timer()
{
@@ -213,7 +219,7 @@ function CheckForLogging(qstring)
{
var lg = parseInt(qstring(1), 10)||0;
if (lg != 0 && Application("otap_environment") != "O")
user.checkAutorisation("WEB_PRSSYS"); // Minimaal
user.checkAutorisation("WEB_FACTAB"); // Minimaal
Session("logging") = lg;
}

View File

@@ -13,7 +13,7 @@ if (Application("otap_environment") == "O")
%>
<!--#include file="../Shared/common.inc"-->
<%
Application("otap_environment") == "O" || user.checkAutorisation("WEB_PRSSYS");
Application("otap_environment") == "O" || user.checkAutorisation("WEB_FACTAB");
var fso = Server.CreateObject("Scripting.FileSystemObject");
var logfile = Server.MapPath(rooturl + "/" + Application(customerId + "_logfilename")+".html");