Community Tip - You can change your system assigned username to something more personal in your community settings. X
There are various ways to export ACL rules from Windchill
If you need to quickly compare ACL rules between 2 systems e.g. production & test, additional steps are required so that file comparison tools can be used. The following method uses the comparison tool “Beyond Compare” to check for differences between CSV files, generated by a QML report (attached).
The ACL CSV output
The attached QML, generates a suitable CSV output file and contains 2 keys which can be used for comparison. You can create more keys to suit your requirements. The key is simply a concatenation of data.
ID Hash Key
Compares ACL rules where, for each rule, all of the following match between systems.
If you created your test system by rehosting your production system these keys would match on the outputs from each system. Any new rules created after the rehost would potentially be considered unique as you have little control over the assigned IDs.
If the display names of the context or domain are changed, the rules will still compare, a delta will be recorded in the appropriate fields.
Name Hash Key
If you wish to compare ACL rules which have been created independently in 2 systems but are effectively the same then we can’t rely on IDs to compare. For this purpose an alternative key is included which is formed from a hash of names. So long as the names are the same in both systems then the ACL rule will be compared even if the IDs are different.
When comparing rules from a single context or domain, filter the report before generating a CSV file.
Attached QML updated, previous version did not show rules where principal = ALL. Outer join added on principal object, so rule is shown when principal reference is null.