Skip to content

Commit 0011560

Browse files
committed
Implement review comments
1 parent 3522c32 commit 0011560

File tree

2 files changed

+19
-16
lines changed

2 files changed

+19
-16
lines changed

docs/users/invitations.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,25 @@
22
description: Manage user invitations to create an account in the frontend or the Back Office.
33
---
44

5-
# Invite users
5+
# Inviting users
66

77
[[= product_name =]] allows you to create and send invitations to create an account in
8-
the frontend as a customer, the Back Office as an employee, or the Corporate Portal as an organization member.
8+
the frontend as a customer, the Back Office as an employee, or the Corporate Portal as an organisation member.
99
You can send invitations to individual users or in bulk.
1010

1111
## Roles and Policies
1212

1313
To invite other members to the site or the Back Office, a user needs to have the `User:Invite` permission added to their Role.
14-
You can limit the ability to invite other members to specific user groups, such as Editors, or to the specific Roles within the group, for example: Admin, Buyer.
14+
You can limit the ability to invite other members to specific User Groups,
15+
such as Editors, or to the specific Roles within the group, for example: Admin, Buyer.
1516

1617
## Creating and sending invitations
1718

1819
Invitations are created with [InvitationService](../api/php_api/php_api_reference/classes/Ibexa-Contracts-User-Invitation-InvitationService.html),
1920
but sending them requires additional setup.
2021
[[= product_name =]] provides you with `Ibexa\User\Invitation\MailSender` implementation of
2122
`InvitationSender` interface for sending invitations via email.
22-
If you want to send invitations through different channels, you need to create a custom setup.
23+
If you want to send invitations through different channels, you will need to create a custom setup.
2324

2425
## Invitation and registration form templates
2526

@@ -28,7 +29,7 @@ If you want to send invitations through different channels, you need to create a
2829
To set up custom templates for invitation or registration forms,
2930
create a template file and inform the system, through configuration, when to use this template.
3031

31-
You might also set a SiteAccess under `scope`, to which the new user is invited.
32+
You might also set a SiteAccess under `scope`, to which the new user will be invited.
3233
If the SiteAccess is not set, it falls back to the default `site` value.
3334

3435
For example, use the following [configuration](configuration.md#configuration-files):

docs/users/update_basic_user_data.md

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -5,46 +5,48 @@ description: Update basic user account data from the console.
55
# Update basic user data from CLI
66

77
Multiple user management scenarios may result in having to update basic user account data, such as user status, the password, or email.
8-
Especially, when a security breach occurs, you may need to revoke user access by disabling the account, or change the user's password.
8+
Especially, you may need to revoke user access by disabling the account when offboarding an employee, or change the user's forgotten password.
99

1010
You can do it without accessing the Admin UI, by running a console command.
11-
You reference the user account with either user id or login.
11+
You reference the user account by passing the user login.
1212

1313
## Disable or enable user account
1414

15-
To change the status of a user account, you must have the `user/activation` permission.
16-
1715
Disable the user account:
1816

1917
```bash
20-
php bin/console ibexa:user:update-user --disable <user_reference>
18+
php bin/console ibexa:user:update-user --disable <login>
19+
```
20+
21+
For example:
22+
23+
```bash
24+
php bin/console ibexa:user:update-user --disable johndoe
2125
```
2226

2327
Enable the user account:
2428

2529
```bash
26-
php bin/console ibexa:user:update-user --enable <user_reference>
30+
php bin/console ibexa:user:update-user --enable <login>
2731
```
2832

2933
## Change password
3034

31-
To change the password, you must have the `user/password` permission.
32-
3335
Change the password associated with the user account:
3436

3537
```bash
36-
php bin/console ibexa:user:update-user --password <user_reference>
38+
php bin/console ibexa:user:update-user --password <login>
3739
```
3840

3941
After you run the command, enter the new password when prompted.
4042
The command runs in silent mode and inputs are not echoed.
4143

42-
For more information about changing and revoking passwords, see [Passwords](passwords.md#revoking-passwords).
44+
For more information about changing and revoking passwords, for example, when a security breach occurs, see [Passwords](passwords.md#revoking-passwords).
4345

4446
## Change email address
4547

4648
Change the email address associated with the user account:
4749

4850
```bash
49-
php bin/console ibexa:user:update-user --email=<new_email_address> <user_reference>
51+
php bin/console ibexa:user:update-user --email=<new_email_address> <login>
5052
```

0 commit comments

Comments
 (0)