Skip to content

Commit 0e36842

Browse files
Replace "app role" by "user role"
1 parent 3815e11 commit 0e36842

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

content/en/docs/appstore/platform-supported-content/modules/document-generation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,15 +234,15 @@ To see the generated document in the browser or download it, you can use the **D
234234

235235
For scenarios where you want to generate documents as a system task (for example in a scheduled event), the recommended approach is to set up one or more service users for document generation.
236236

237-
1. Add a specific app role for service users to your app, for example **DocGenServiceUser** or **ReadOnly**.
238-
2. Assign the **User** module role from the **DocumentGeneration** module to the new app role.
237+
1. Add a specific user role for service users to your app, for example **DocGenServiceUser** or **ReadOnly**.
238+
2. Assign the **User** module role from the **DocumentGeneration** module to the new user role.
239239
3. Assign or add the required module roles to allow read access to the relevant data in your app’s modules.
240240

241241
As a good practice, let Studio Pro generate separate module roles and set strict entity access that only allows read access to the applicable data. In this case, the service user needs to have the **DocumentGeneration.User** module role, while the user who runs the microflow to generate a document does not.
242242

243243
{{% alert color="info" %}}Do not use regular user accounts for the **Generate as user** parameter, since this could have side effects, for example, changes in the last login date, or failures when multiple sessions are disabled and the applicable user logs in at the same time.{{% /alert %}}
244244

245-
4. Run the app and create a new local user as the service user. Give the service user the app role that you created above and use a strong password. The service user will be used to generate documents.
245+
4. Run the app and create a new local user as the service user. Give the service user the user role that you created above and use a strong password. The service user will be used to generate documents.
246246

247247
{{% alert color="info" %}}
248248
When starting with a blank app, you can use the **Administration.Account_Overview** page from the [Administration module](/appstore/modules/administration/) to manage and create new users.

0 commit comments

Comments
 (0)