From 04bd859f844c61a6dc973c1d9f043b97fb9280c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Mon, 14 Jul 2025 09:42:34 +0200 Subject: [PATCH 1/3] Added mention about the password change on Ibexa Cloud --- .../data_migration/examples/update_user.yaml | 8 ++++++++ .../data_migration/importing_data.md | 15 +++++++-------- docs/ibexa_cloud/install_on_ibexa_cloud.md | 3 +++ 3 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 code_samples/data_migration/examples/update_user.yaml diff --git a/code_samples/data_migration/examples/update_user.yaml b/code_samples/data_migration/examples/update_user.yaml new file mode 100644 index 0000000000..b1a052c681 --- /dev/null +++ b/code_samples/data_migration/examples/update_user.yaml @@ -0,0 +1,8 @@ +- + type: user + mode: update + match: + field: login + value: admin + metadata: + password: '###XXX env("ADMIN_PASSWORD") XXX###' diff --git a/docs/content_management/data_migration/importing_data.md b/docs/content_management/data_migration/importing_data.md index d49e9ecd37..a3e0fe5411 100644 --- a/docs/content_management/data_migration/importing_data.md +++ b/docs/content_management/data_migration/importing_data.md @@ -172,14 +172,7 @@ Built-in expression language functions that are tagged with `ibexa.migrations.te - `env` - retrieves the value of an environmental variable. ```yaml - - - type: user - mode: update - match: - field: login - value: admin - metadata: - password: '###XXX env("ADMIN_PASSWORD") XXX###' +[[= include_file('code_samples/data_migration/examples/update_user.yaml') =]] ``` #### Custom functions @@ -319,6 +312,12 @@ You can use an [action](data_migration_actions.md) to assign a role to the user. [[= include_file('code_samples/data_migration/examples/create_user.yaml') =]] ``` +You can also update users, including changing the user password: + +``` yaml +[[= include_file('code_samples/data_migration/examples/update_user.yaml') =]] +``` + ### Languages The following example shows how to create a language. diff --git a/docs/ibexa_cloud/install_on_ibexa_cloud.md b/docs/ibexa_cloud/install_on_ibexa_cloud.md index 61003c20af..305a29223c 100644 --- a/docs/ibexa_cloud/install_on_ibexa_cloud.md +++ b/docs/ibexa_cloud/install_on_ibexa_cloud.md @@ -99,6 +99,9 @@ You can also use the [[[= product_name_cloud =]] CLI](https://cli.ibexa.cloud/) ibexa_cloud push master ``` +The [database installer](install_ibexa_dxp.md#create-a-database) runs in non-interactive mode and keeps the default password for the `admin` user. +Modify this password after the installation, for example by using [data migrations](importing_data.md#users) or the [user management command](update_basic_user_data.md#change-password). + !!! note `master` is the Platform.sh name for the production branch. From a4f08d8f87d3e8f832f4c9748b2075b57b84a5dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Tue, 15 Jul 2025 16:08:23 +0200 Subject: [PATCH 2/3] Apply suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tomasz DÄ…browski <64841871+dabrt@users.noreply.github.com> --- docs/content_management/data_migration/importing_data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/content_management/data_migration/importing_data.md b/docs/content_management/data_migration/importing_data.md index a3e0fe5411..a159a64553 100644 --- a/docs/content_management/data_migration/importing_data.md +++ b/docs/content_management/data_migration/importing_data.md @@ -312,7 +312,7 @@ You can use an [action](data_migration_actions.md) to assign a role to the user. [[= include_file('code_samples/data_migration/examples/create_user.yaml') =]] ``` -You can also update users, including changing the user password: +You can also update user information, including passwords: ``` yaml [[= include_file('code_samples/data_migration/examples/update_user.yaml') =]] From 09ae68c7ef05c8c018ca7b4c4dc09d0ad9974e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Noco=C5=84?= Date: Tue, 15 Jul 2025 16:10:47 +0200 Subject: [PATCH 3/3] Apply suggestion MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Tomasz DÄ…browski <64841871+dabrt@users.noreply.github.com> --- docs/ibexa_cloud/install_on_ibexa_cloud.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/ibexa_cloud/install_on_ibexa_cloud.md b/docs/ibexa_cloud/install_on_ibexa_cloud.md index 305a29223c..31e4274a9e 100644 --- a/docs/ibexa_cloud/install_on_ibexa_cloud.md +++ b/docs/ibexa_cloud/install_on_ibexa_cloud.md @@ -100,7 +100,7 @@ ibexa_cloud push master ``` The [database installer](install_ibexa_dxp.md#create-a-database) runs in non-interactive mode and keeps the default password for the `admin` user. -Modify this password after the installation, for example by using [data migrations](importing_data.md#users) or the [user management command](update_basic_user_data.md#change-password). +Modify this password after the installation, for example, by using [data migrations](importing_data.md#users) or the [user management command](update_basic_user_data.md#change-password). !!! note