added missing perm level 'None' to apply method and added support for lowercase levels