HSLE#55738: object -> registreer een melding.

svn path=/Website/branches/v2018.2/; revision=40193
This commit is contained in:
Maykel Geerdink
2018-12-12 10:47:52 +00:00
parent 85b41fb697
commit 0c72a0e67b
2 changed files with 2 additions and 2 deletions

View File

@@ -137,7 +137,7 @@ if (mld_key == -1 || copy)
if (urole == "xx")
{
var authparamsMLDFOF = user.checkAutorisation("WEB_MLDFOF", true, disc > 0? disc : null);
var authparamsMLDFOF = user.checkAutorisation("WEB_MLDFOF", true, disc);
if (mld_key < 0)
{
var mldfof_write = authparamsMLDFOF && (authparamsMLDFOF.PRSwritelevel < 9 && authparamsMLDFOF.ALGwritelevel < 9);

View File

@@ -909,7 +909,7 @@ Perslid.prototype.checkAutorisation_readit = function _checkAutorisation_readit(
+ " FROM fac_v_webgebruiker w"
+ " WHERE w.prs_perslid_key = " + this._prs_perslid_key
+ " AND w.fac_functie_key IN (" + result.autfunctionkeys.join(",") + ")";
if (typeof ins_discipline_key != 'undefined' && ins_discipline_key)
if (ins_discipline_key > 0)
sql += " AND ins_discipline_key = " + ins_discipline_key
if (checkPessimistic)