FCLT#56457 Meldingen die ik vanaf portal open moet met maximale rechten open
svn path=/Website/trunk/; revision=41390
This commit is contained in:
@@ -165,7 +165,7 @@ function fnMark(oRs)
|
||||
var actiecode = oRs.Fields("mark").Value;
|
||||
var txt= "";
|
||||
switch (oRs.Fields("xmlnode").Value) {
|
||||
case "melding":
|
||||
case "melding":
|
||||
if (actiecode & 2)
|
||||
{
|
||||
if (outputmode == 0)
|
||||
@@ -173,7 +173,7 @@ function fnMark(oRs)
|
||||
else
|
||||
txt = L("lcl_mld_actiecodeFE");
|
||||
}
|
||||
|
||||
|
||||
break;
|
||||
}
|
||||
return txt;
|
||||
@@ -299,7 +299,7 @@ function sqlTracking(refkey, node)
|
||||
switch (module)
|
||||
{
|
||||
case "melding":
|
||||
FcltMgr.openDetail("appl/mld/mld_melding.asp?urole=<%=urole%>&mld_key=" + item_key, { reuse: true });
|
||||
FcltMgr.openDetail("appl/mld/mld_melding.asp?urole=xx&mld_key=" + item_key, { reuse: true });
|
||||
break;
|
||||
case "reservering":
|
||||
if (facData.disc_key)
|
||||
|
||||
@@ -48,7 +48,10 @@
|
||||
data.action = oRs("fac_srtnotificatie_url").Value + oRs("web_user_mess_action_params").Value;
|
||||
data.action = data.action.replace(/\#/g, "&");
|
||||
if (data.action.indexOf("&urole") < 0)
|
||||
data.action += "&urole=fe";
|
||||
if (data.action.indexOf("mld_melding.asp") < 0)
|
||||
data.action += "&urole=fe";
|
||||
else
|
||||
data.action += "&urole=xx"; // urole=xx for mld_melding to determine the urole based on rights
|
||||
}
|
||||
return JSON.stringify(data);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user