Merge changes from topic 'permission-backend'

* changes:
  Convert PutAssignee to PermissionBackend
  Add hasExplicitRange to CapabilityControl
This commit is contained in:
David Pursehouse
2017-04-03 01:34:16 +00:00
committed by Gerrit Code Review
5 changed files with 24 additions and 13 deletions

View File

@@ -147,7 +147,7 @@ public class AssigneeIT extends AbstractDaemonTest {
testRepo.reset(RefNames.REFS_CONFIG);
PushOneCommit.Result r = createChange("refs/for/refs/meta/config");
exception.expect(AuthException.class);
exception.expectMessage("is not visible to");
exception.expectMessage("read not permitted");
setAssignee(r, user.email);
}