[#6677] ticket:512 refactored my_projects
[#6677] ticket:532 return has_access and pull projects in one query
[#6677] ticket:532 Require role_name