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