Unify logic of e_user_model::checkAdminPerms()
and getperms()
#5070
+139
−109
e_user_model::checkAdminPerms()
and getperms()
#5070