PLAT#54330: Onduidelijk hoe verder te gaan na het registreren van een gebrek (mobiele versie.
svn path=/Website/trunk/; revision=39447
This commit is contained in:
@@ -320,7 +320,7 @@ oRs.Close();
|
||||
+ " AND m.mld_melding_status IN (0, 2, 3, 4, 7)" // lopende meldingen
|
||||
+ " AND mo.ins_deel_key = " + ins_key;
|
||||
var toRs = Oracle.Execute(tsql);
|
||||
if (toRs(0).Value > 0 && user.checkAutorisation( "WEB_MLDBOF", true))
|
||||
if (toRs(0).Value > 0 && (user.checkAutorisation( "WEB_MLDBOF", true) || user.checkAutorisation( "WEB_MLDFOF", true) || user.checkAutorisation( "WEB_MLDBAC", true)))
|
||||
{
|
||||
BUTTON(L("lcl_mobile_meldingen") + " (" + toRs(0).Value + ")", {linkid: "./mld_list.asp?ins_key=" + ins_key + transitParam, dataicon: "alert"});
|
||||
}
|
||||
|
||||
@@ -212,7 +212,8 @@ if ((self > 0 || S("mld_restrict_mobile_to_me") == 1) && ruimte_key == -1 && ins
|
||||
params.behandel_key = user_key;
|
||||
}
|
||||
|
||||
autfunction = ["WEB_MLDBOF", "WEB_MLDBO2"];
|
||||
// Hier ook op dezelfde rechten testen als in de desktop mode.
|
||||
autfunction = ["WEB_MLDFOF", "WEB_MLDBOF", "WEB_MLDBO2", "WEB_MLDBAC"];
|
||||
// De functie checkAutorisation(autfunction) geeft een Response.End indien er geen autorisatie voor autfunction wordt gevonden
|
||||
var authparams = user.checkAutorisation(autfunction);
|
||||
%>
|
||||
|
||||
Reference in New Issue
Block a user