Added message group states

* published is protected by right
* automatic state changes

Change-Id: I49006e4f0f3aefb7dd8f8688fa6d449f2fc8542b