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:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user