'Sets group_access to specified value and calls update_item to persist the change.'

def set_group_access(self, xblock, value):

    xblock.group_access = value
    self.store.update_item(xblock, self.user.id)
