HSLE#55738: object -> registreer een melding.
svn path=/Website/branches/v2018.2/; revision=40193
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user