DHLD#87206 Geheim token bij technisch adres igv vullen Gedeelde gebruiker

svn path=/Website/trunk/; revision=68850
This commit is contained in:
Erik Groener
2025-04-24 11:47:11 +00:00
parent 56a7b65256
commit 62795dbeba

View File

@@ -16,8 +16,12 @@ var JSON_Result = true;
%>
<!--#include file="../Shared/common.inc"-->
<!--#include file="./prs.inc" -->
<%
protectRequest.validateToken();
user.checkAutorisation("WEB_PRSSYS");
var authparams = user.checkAutorisation("WEB_PRSMGT", true);
user.auth_required_or_abort(authparams && (authparams.ALGwritelevel < 9 || authparams.PRSwritelevel < 9));
var req_info = getQParam("req_info");
var filtercode = getQParam("", "");
var result = { success: true
@@ -41,5 +45,5 @@ var JSON_Result = true;
}
Response.Write(JSON.stringify(result));
%>
%>
<% ASPPAGE_END(); %>