PNBR#33546 meldingen urole iets beter bepalen-

svn path=/Website/trunk/; revision=30769
This commit is contained in:
Ruud Lipper
2016-09-20 11:09:04 +00:00
parent f15694689a
commit 08ef69d78c

View File

@@ -177,10 +177,18 @@ if (ins_key > 0)
var authparamsMLDBOF = user.checkAutorisation("WEB_MLDBOF", true);
var authparamsMLDFOF = user.checkAutorisation("WEB_MLDFOF", true);
var authparamsMLDBAC = user.checkAutorisation("WEB_MLDBAC", true);
if (!ins_deleted && ins_key > 0 && gevuldLogboek && !copy && (authparamsMLDBOF ||authparamsMLDFOF || authparamsMLDBAC))
{
page = "../mld/mld_search_list.asp?ins_key=" + ins_key + "&tiny=1&urole=" + urole;
var murole = "bo";
if (authparamsMLDBOF)
murole = "bo";
else if (authparamsMLDFOF)
murole = "fo";
else if (authparamsMLDBAC)
murole = "mi";
page = "../mld/mld_search_list.asp?ins_key=" + ins_key + "&tiny=1&urole=" + murole;
IFRAMER("insMldframe", page, { initHide: true } );
}
// autorisatiecheck zit verwerkt in insContracts