One of the challenges with working with the Client Object model for SharePoint Online is working without the publishing API. You need to be quite inventive to carry out some tasks which could be achieved natively with the Publishing API.
It is pretty straight forward to see if a user is in a SP Permissions Group. Take a look at the example JSOM below: View the code on Gist. So now you have the JSOM to check if the logged