fixed a compiling error due to merging
removed form the permission list the permissions with no view allowed