Implemented add perm directive on permissions