'Set group_access on block specified by location.'

def set_group_access(self, block_location, access_dict):

    block = modulestore().get_item(block_location)
    block.group_access = access_dict
    modulestore().update_item(block, 1)
