SkinMgr.checkEdit (usr, level) |
check if user is allowed to edit skins
|
Sourcecode in SkinMgr/securityFunctions.js:
1: function checkEdit(usr, level) { 2: if ((level & MAY_EDIT_LAYOUTS) == 0 && !session.user.sysadmin) 3: throw new DenyException("skinEdit"); 4: return; 5: } |