Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions code_samples/data_migration/examples/update_user.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-
type: user
mode: update
match:
field: login
value: admin
metadata:
password: '###XXX env("ADMIN_PASSWORD") XXX###'
15 changes: 7 additions & 8 deletions docs/content_management/data_migration/importing_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
3 changes: 3 additions & 0 deletions docs/ibexa_cloud/install_on_ibexa_cloud.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading