ProjectState: Remove controlFor(CurrentUser)
This commit decouples ProjectState from ProjectControl so that all Control classes can go into their own subpackage to force callers to use PermissionBackend instead. Change-Id: I6c51f2def0aa2115c9b6122f6d38325b1f15615e
This commit is contained in:
@@ -208,7 +208,6 @@ public class RefControlTest {
|
||||
@Inject private SingleVersionListener singleVersionListener;
|
||||
@Inject private InMemoryDatabase schemaFactory;
|
||||
@Inject private ThreadLocalRequestContext requestContext;
|
||||
@Inject private ProjectControl.Factory projectControlFactory;
|
||||
|
||||
@Before
|
||||
public void setUp() throws Exception {
|
||||
@@ -856,7 +855,6 @@ public class RefControlTest {
|
||||
projectCache,
|
||||
allProjectsName,
|
||||
allUsersName,
|
||||
projectControlFactory,
|
||||
envFactory,
|
||||
repoManager,
|
||||
rulesCache,
|
||||
|
||||
Reference in New Issue
Block a user