Imported UserPermissions disappears from Entity Permissions after ThingWorx Server restarted
Applies To
- ThingWorx Platform 8.0
Description
- Imported UserPermissions disappears from Entity Permissions after ThingWorx Server restarted
- ExportUserPermissions / ImportUserPermissions is used for bulk exporting all the user permissions from one instance of ThingWorx to another
- Could be used during upgrade/migration process to collectively move the User Permissions
- Issue is reproduced by
- Creating Design Time Collection Permissions for Read, Create, Update, Delete User Permissions for e.g. for a UserGroup called DemoGroup on Things in ThingWorx Composer
- Export user permissions via ExportUserPermissions service available in ThingWorx Composer > System > Resources > CollectionFunctions
- During export includeCollectionPermissions, includeDependents & includeEntityPermissions were checked
- Navigate to ThingWorx instance where these user permissions need to be imported and import the user permissions via ImportUserPermissions service also available in ThingWorx Composer > System > Resources > CollectionFunctions
- After import all permissions are added as they were in ThingWorx instance from where they were exported
- Restart Tomcat to restart the ThingWorx Server
- Check for the permissions that were added with the import
- All permissions are reset back to as they were prior to import