Skip to content

Groups

Groups Component

Used to sync groups from a source instance to a destination instance of Swimlane

sync_group

This class syncs a single source instance group to a destination instance.

We begin by processing the provided group and ensuring that all roles and users associated with the provided group are added to the destination instance.

Once that is complete, we then sync any nested groups within the provided source instance group.

If the provided group is already on the destination instance, then we just skip processing but if the provided group is not on the destination instance we add it.

def sync_group(self, group: aqueduct.models.group.Group)

sync

This method is used to sync all groups from a source instance to a destination instance

def sync(self)