FSN#51651 'Not authorized' in plaats van AiAi als je geen PRSUSE hebt

svn path=/Website/branches/v2017.2/; revision=36468
This commit is contained in:
Jos Groot Lipman
2018-01-02 14:24:00 +00:00
parent dffe35c395
commit 6299c9570f

View File

@@ -101,7 +101,7 @@ function model_prs_afdeling()
}
}
var authparamsUSE = user.checkAutorisation("WEB_PRSUSE", true);
var authparamsUSE = user.checkAutorisation("WEB_PRSUSE");
if (authparamsUSE.PRSreadlevel == 0) // prs_bedrijf
{
gparams["GET"].wheres.push("pa.prs_bedrijf_key = " + user.afdeling().prs_bedrijf_key());