Check read permission in getRepoFile

* Inject PermissionBackend to all API entry points and
  pass it to hasReadAccess.
* Add new ACL read tests in IncludeIT and OwnersValidatorIT;
  share code in FindOwners.
* Improve readability in IncludeIT and ParserTest.

Change-Id: Ia10601eb00980b62f08c240b91da81ee0c38d0df
12 files changed
tree: 42f3d246a160904b5d37e25caf32e326ef05b716
  1. src/
  2. BUILD
  3. LICENSE
  4. OWNERS