Article - CS273789

Imported UserPermissions disappears from Entity Permissions after ThingWorx Server restarted

Modified: 16-May-2018   


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
    1. 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
    2. Export user permissions via ExportUserPermissions service available in ThingWorx Composer > System > Resources > CollectionFunctions
    3. During export includeCollectionPermissions, includeDependents & includeEntityPermissions were checked
    4. 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
    5. After import all permissions are added as they were in ThingWorx instance from where they were exported
    6. Restart Tomcat to restart the ThingWorx Server
    7. Check for the permissions that were added with the import
    8. All permissions are reset back to as they were prior to import
This is a printer-friendly version of Article 273789 and may be out of date. For the latest version click CS273789