Uma maneira no client javascript de verificar se o usuário atual é membro de um grupo privado?

For the current user, this will be done soon:

This will be enough for you to

and is the exact use case I had in mind.