Comment 3 for bug 786904

Revision history for this message
Matt Giuca (mgiuca) wrote :

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.