Add new 'read as' capability.

Provides capability to impersonate any user to see which refs they can
read.

Change-Id: Id6ae99c45d8310d8e7620008021785df3ebb5d0b
This commit is contained in:
Martin Fick
2018-06-08 16:19:24 -06:00
parent dd7c56d34b
commit b827f87b4a
9 changed files with 13 additions and 1 deletions

View File

@@ -168,6 +168,7 @@ public class DefaultPermissionBackend extends PermissionBackend {
case CREATE_PROJECT:
case MAINTAIN_SERVER:
case MODIFY_ACCOUNT:
case READ_AS:
case STREAM_EVENTS:
case VIEW_ALL_ACCOUNTS:
case VIEW_CONNECTIONS: