KIX18 Tips & Tricks: CSV import/export with preset roles

The click work for the KIX18 Admin is simplified with this small script


You want to reduce the click work of the KIX admins and simplify the role assignment? We have created a small script for the maintenance of role and role permissions in KIX version 18 for this purpose (http://git.intra.cape-it.de/Customerprojects/Tools/kix18sync). The script can be used to:

  • (1) Export of all roles incl. their authorisations (Use Case "Audit"),

  • (2) for the creation of new or changed roles/permissions (use case "Consulting") or also

  • (3) to restore the default roles/permissions.

As usual, access to the REST API of the respective KIX version18 is required. The same instructions apply as for the sister scripts. The basic procedure is identical.

  • Request help

user@orion /opt/kix18sync $ ./bin/kix18.ManageRoles.pl --help

  • Export roles/permissions

user@orion /opt/kix18sync $ ./bin/kix18.ManageRoles.pl --config ./config/kix18.ManageRoles.cfg --dir export -d /tmp

The CSV sample file "RoleData_Sample.csv" included in the script contains the default role definition of a KIX in version 18.11. Should this become outdated, the default roles can be exported from any fresh KIX18 installation and imported again directly from there. If anyone finds that the CSV file is out of date, please submit a merge request in our GitLab.

The extended script is also available on GitHub



Contact

The mandatory fields marked with "*" are essential for contacting us.

Callback

The mandatory fields marked with "*" are essential for contacting us.