Merge "ProjectControl: READ does not imply isOwner"

This commit is contained in:
Dave Borowitz
2017-04-26 15:05:34 +00:00
committed by Gerrit Code Review

View File

@@ -558,7 +558,7 @@ public class ProjectControl {
|| isOwner();
case READ:
return (!isHidden() && allRefsAreVisible(Collections.emptySet())) || isOwner();
return !isHidden() && allRefsAreVisible(Collections.emptySet());
}
throw new PermissionBackendException(perm + " unsupported");
}