Don't show portfolio list sidebar to non-group-members for non-public groups

See #997