'add a group'

def add_group(self, inc_group):

    if self.groups:
        self.groups.append(inc_group)
    else:
        self.put(SecurityContextConstraints.groups_path, [inc_group])
    return True
