SGGR#40833 Ik kan geen notities meer toevoegen!? met alleen MLDBO3 rechten

svn path=/Website/branches/v2017.1/; revision=34183
This commit is contained in:
Ruud Lipper
2017-06-08 12:02:40 +00:00
parent 7174ec6f3d
commit 4042667c89
2 changed files with 2 additions and 2 deletions

View File

@@ -2919,7 +2919,7 @@ mld = {setmeldingstatus:
mresult.canFEwrite = mresult.canWrite("WEB_MLDUSE"); // nieuwe melding dus nog geen && user.isCollega(moRs("prs_perslid_key").Value);
mresult.canFOread = mresult.canRead("WEB_MLDFOF");
mresult.canBOread = mresult.canRead("WEB_MLDBOF");
mresult.canBOread = mresult.canRead("WEB_MLDBOF") || mresult.canRead("WEB_MLDBO3");
mresult.canFEread = mresult.canRead("WEB_MLDUSE");
mresult.canMIread = mresult.canRead("WEB_MLDBAC");
mresult.canReadAny = mresult.canFORead || mresult.canBORead || mresult.canFERead || mresult.canMIread;

View File

@@ -344,7 +344,7 @@ var timestamp_notes = new Date();
// Voeg eventueel weer toe wat er voor de reload als gevolg van upload bijlage stond.
note_oms = (tmp_note != "" ? tmp_note : note_oms);
if ((!mfe.haveOnlyFErights && mfe.haveFOBOrights) || (mfe.haveOnlyFErights && mld_info.fenotes>0))
if ((!mfe.haveOnlyFErights && mfe.canReadAny) || (mfe.haveOnlyFErights && mld_info.fenotes>0))
{
if (note_key < 0)
{