Create a User and Grant Permissions
About this task
Procedure
-
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.
-
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. -
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
- 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: