Skip to Content
0
Jun 30, 2014 at 03:51 PM

Compare exported UserRights - every export differs

217 Views

For example i have an Export of all User-Rights. If i change some rights next time (in hmc) and export the rights again, they're mashed up completely. Using this script for export (from hmc - generate script):

 # ---- Extension: core ---- Type: UserRight ----
 "#% impex.setTargetFile( ""UserRight.csv"" , true, 0, 0 );"
 #SPECIAL CASE: Type UserRight will be exported with special logic (without header definition), see https://wiki.hybris.com/x/PIFvAg
 "#% impex.exportItems( ""UserRight"" , false );"

Export example:

     UserGroup;customergroup;;;;;;;;
     UserGroup;cockpitgroup;;;;;;;;
     ;;;;AbstractComment;+;+;+;+;.
     ;;;;Comment;+;+;+;+;.
     ;;;;CommentMetadata;+;+;+;+;.
     ;;;;Component;+;+;+;+;.
     ;;;;Reply;+;+;+;+;.
     ;;;;CommentUserSetting;+;+;+;+;.
     ;;;;Item;+;.;.;.;.
     ;;;;Domain;+;+;+;+;.
     ;;;;CommentType;+;+;+;+;.
     UserGroup;employeegroup;;;;;;;;
     ;;;;RemoveItemsJob;+;-;-;-;-
     ;;;;EnumerationValue;+;-;-;-;-
     ;;;;CompareCatalogVersionWizard;-;-;-;-;-
     ;;;;Catalog;+;-;-;-;-
     ;;;;C2LItem;+;-;-;-;-
     ;;;;Item;-;-;-;-;-
     ;;;;SynchronizeCatalogVersionWizard;-;-;-;-;-
     ;;;;SyncItemJob;+;-;-;-;-
     ;;;;CatalogVersion;+;-;-;-;-
     ;;;;ClassificationAttributeUnit;+;.;.;.;.
     ;;;;RemoveItemsCronJob;+;+;+;-;-
     ;;;;ProductReference;+;+;+;+;-
     ;;;;Employee;+;+;-;-;-
     ;;;;RemoveItemsWizard;+;+;+;-;-
     UserGroup;admingroup;;;;;;;;
 

Is there any way how to compare / sort exports of userrights ? Currently it's very difficult to verify correctness and comparability.

Any Ideas ?

Greets, Kai