changes to allow a permission check that enables a user to get the messages from a group they are part of
permissions are checked in seagull