5pm-HDH / churchtools-cli

With the ChurchTools-CLI-Tool, you can access data from your ChurchTools application instance directly through a CLI application, using simple commands that are easy to learn. The tool is compatible with cmd on Windows, terminal on Mac, and bash on Linux.
3 stars 0 forks source link

migrate:group-member-hierarchy - remove members in parent group #41

Closed DumbergerL closed 1 year ago

DumbergerL commented 1 year ago

As of today the migration-command only adds members to the parent group and does not remove them if a member is removed in a child group.

With a new option (e.q.: --remove-member) the command also removes member from the parent group to keep the children groups and the parent group in sync.

DumbergerL commented 1 year ago
php ct.phar migrate:group-member-hierarchy 10 9 --remove-redundant-parent-members --no-testmode --help

42