Create a User and Grant Permissions

About this task

To perform tasks such as importing the work orders, material lots, and OSP from the ERP system to Plant Applications, as a system administrator, you must perform the following steps:

Procedure

  1. Create a user in Operations Hub UAA.
    Note: If you are installing Plant Applications Web Client for the first time, a default user is created.
  2. The permissions a user requires depends on what they are to import. Grant users permissions according to the following table:
    To import: Permissions required:
    Work orders
    • Create a work order
    • Edit a work order
    • Execute a work order
    • Cancel a work order
    • Clock off others
    • Change work order plans
    Materials none
    Material lots Create raw material lots
    Process orders none
    Outside processing (OSP)
    • Execute a work order
    • Create raw material lots
    Note: Users created and granted Plant Applications-related permissions will automatically be created within Plant Applications.
  3. Modify the properties of the user:
    • If you installed Plant Applications Web Client using Docker, update the values of the following properties in the env.yml file in the <Plant Applications installation folder>/PlantApplicationsDocker/plantapps-web-docker folder:
      • uaa_service_serviceuser_name
      • uaa_service_serviceuser_password
      • uaa_service_client_id
      • uaa_service_client_secret
    • For Plant Applications Web Client without Docker installation, browse to the folder <Tomcat Installation folder>\webapps\erp-import-service-<version>\WEB-INF\classes\application.properties, and update the values of the following properties:
      • uaa.service.client.id
      • uaa.service.client.secret
      • uaa.service.serviceuser.name
      • uaa.service.serviceuser.password