WELK#36695 met urole=mi mag ik ook wel bezoekers zien

svn path=/Website/branches/v2016.1/; revision=29637
This commit is contained in:
Ruud Lipper
2016-06-06 11:20:41 +00:00
parent 3b87012d10
commit 620351df3d

View File

@@ -30,6 +30,7 @@ var urole = getQParamSafe("urole", "fe");
var authparams = user.checkAutorisation({ fe: "WEB_BEZUSE",
bo: "WEB_BEZBOF",
mi: "WEB_BEZBAC",
fo: "WEB_BEZFOF"} [urole]);
var canWrite = authparams && authparams.PRSwritelevel < 9 && authparams.ALGwritelevel < 9;