[fix] [minor] validate permissions
Merge branch 'master' of github.com:webnotes/wnframework