From d373fe6a795e416462c5fa17057d1df08374e1ab Mon Sep 17 00:00:00 2001 From: marcosgvieira Date: Wed, 28 Jun 2023 11:49:25 +0100 Subject: [PATCH] docs: adding configuration for users act and view --- .../tasklist-authentication.md | 23 ++++++++++++++++--- .../tasklist-authentication.md | 23 ++++++++++++++++--- 2 files changed, 40 insertions(+), 6 deletions(-) diff --git a/docs/self-managed/tasklist-deployment/tasklist-authentication.md b/docs/self-managed/tasklist-deployment/tasklist-authentication.md index 17857718d5..d828db5ec3 100644 --- a/docs/self-managed/tasklist-deployment/tasklist-authentication.md +++ b/docs/self-managed/tasklist-deployment/tasklist-authentication.md @@ -21,6 +21,7 @@ The **userId**, **password**, and **roles** for one user may be set in applicati camunda.tasklist: userId: aUser password: aPassword + displayName: aDisplayName roles: - OWNER - OPERATOR @@ -30,9 +31,25 @@ On Tasklist startup, the user is created if they did not exist before. By default, three users are created: -- Role `OWNER` with **userId**/**displayName**/**password** `demo`/`demo`/`demo`. -- Role `USER` with **userId**/**displayName**/**password** `view`/`view`/`view`. -- Role `OPERATOR` with **userId**/**displayName**/**password** `act`/`act`/`act`/. +- Role `OWNER` with **userId**/**displayName**/**password** `demo`/`demo`/`demo`. To change userId, password, displayName or role for user `demo` use the above configuration. + +- Role `USER` with **userId**/**displayName**/**password** `view`/`view`/`view`. To change userId, displayName or password for this user the below configuration can be used: + +``` +camunda.tasklist: + readerUserId: aUser + readerPassword: aPassword + readerDisplayName: aDisplayName +``` + +- Role `OPERATOR` with **userId**/**displayName**/**password** `act`/`act`/`act`/. To change userId, displayName or password for this user the below configuration can be used: + +``` +camunda.tasklist: + operatorUserId: aUser + operatorPassword: aPassword + operatorDisplayName: aDisplayName +``` More users can be added directly to Elasticsearch, to the index `tasklist-user-_`. The password must be encoded with a strong BCrypt hashing function. diff --git a/versioned_docs/version-8.2/self-managed/tasklist-deployment/tasklist-authentication.md b/versioned_docs/version-8.2/self-managed/tasklist-deployment/tasklist-authentication.md index 2979a5cb1b..55c744e167 100644 --- a/versioned_docs/version-8.2/self-managed/tasklist-deployment/tasklist-authentication.md +++ b/versioned_docs/version-8.2/self-managed/tasklist-deployment/tasklist-authentication.md @@ -21,6 +21,7 @@ The **userId**, **password**, and **roles** for one user may be set in applicati camunda.tasklist: userId: aUser password: aPassword + displayName: aDisplayName roles: - OWNER - OPERATOR @@ -30,9 +31,25 @@ On Tasklist startup, the user is created if they did not exist before. By default, three users are created: -- Role `OWNER` with **userId**/**displayName**/**password** `demo`/`demo`/`demo`. -- Role `USER` with **userId**/**displayName**/**password** `view`/`view`/`view`. -- Role `OPERATOR` with **userId**/**displayName**/**password** `act`/`act`/`act`/. +- Role `OWNER` with **userId**/**displayName**/**password** `demo`/`demo`/`demo`. To change userId, password, displayName or role for user `demo` use the above configuration. + +- Role `USER` with **userId**/**displayName**/**password** `view`/`view`/`view`. To change userId, displayName or password for this user the below configuration can be used: + +``` +camunda.tasklist: + readerUserId: aUser + readerPassword: aPassword + readerDisplayName: aDisplayName +``` + +- Role `OPERATOR` with **userId**/**displayName**/**password** `act`/`act`/`act`/. To change userId, displayName or password for this user the below configuration can be used: + +``` +camunda.tasklist: + operatorUserId: aUser + operatorPassword: aPassword + operatorDisplayName: aDisplayName +``` More users can be added directly to Elasticsearch, to the index `tasklist-user-_`. The password must be encoded with a strong BCrypt hashing function.