Merge "ProjectControl: READ does not imply isOwner"
This commit is contained in:
@@ -558,7 +558,7 @@ public class ProjectControl {
|
|||||||
|| isOwner();
|
|| isOwner();
|
||||||
|
|
||||||
case READ:
|
case READ:
|
||||||
return (!isHidden() && allRefsAreVisible(Collections.emptySet())) || isOwner();
|
return !isHidden() && allRefsAreVisible(Collections.emptySet());
|
||||||
}
|
}
|
||||||
throw new PermissionBackendException(perm + " unsupported");
|
throw new PermissionBackendException(perm + " unsupported");
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user