So in my opinion, the only fix required is to use the same comparison above as below. For instance, in GameVersionServiceImpl, replace:
ClientView cv = (curUser.getPrimaryKey() == object.getPrimaryKey()) ? ClientView.PRIVATE : ClientView.PUBLIC;
with:
ClientView cv = isDev ? ClientView.PRIVATE : ClientView.PUBLIC;
In other words, it's private if you are a developer of this game; otherwise it is public. That's all that should be required.
So in my opinion, the only fix required is to use the same comparison above as below. For instance, in GameVersionServ iceImpl, replace:
ClientView cv = (curUser. getPrimaryKey( ) == object. getPrimaryKey( )) ?
ClientView. PRIVATE : ClientView.PUBLIC;
with:
ClientView cv = isDev ? ClientView.PRIVATE : ClientView.PUBLIC;
In other words, it's private if you are a developer of this game; otherwise it is public. That's all that should be required.