Add `is_repo_admin` parameter to `get_project`
To refactor code and save repeating code everywhere the repo is checked
in `get_project` function itself that if the project is private then the
logged in user should have the authority to view project and related
features likw issues and pull-request