Added permission level support