Skip to content

Commit cbe24d8

Browse files
fixes
1 parent 2a35111 commit cbe24d8

File tree

3 files changed

+22
-16
lines changed

3 files changed

+22
-16
lines changed

docs/content_management/collaborative_editing/collaborative_editing.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ month_change: true
88

99
# Collaborative editing
1010

11-
With Collaborative editing feature multiple users can work on the same content created in [[= product_name =]] simultaneously.
12-
This feature allows multiple users to work together on the same content item in real time, streamlining the content creation and review process.
11+
With Collaborative editing feature multiple users can work on the same content created in [[= product_name =]] simultaneously, streamlining the content creation and review process.
1312

1413
Users can invite both internal and external collaborators to a session, giving them access for editing or previewing.
1514

docs/content_management/collaborative_editing/collaborative_editing_api.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,15 @@ month_change: true
99

1010
[[= product_name =]]'s Collaborative editing API provides two services for managing sessions and invitations, which differ in function:
1111

12-
- [`InvitationServiceInterface`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-InvitationServiceInterface.html) is used to manage collaboration sessions invitations
13-
- [`SessionServiceInterface`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html) is used to manage collaboration sessions
12+
- [`InvitationServiceInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-InvitationServiceInterface.html) is used to manage collaboration sessions invitations
13+
14+
- [`SessionServiceInterface`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html) is used to manage collaboration sessions
1415

1516
## Managing sessions
1617

1718
### Create session
1819

19-
You can create new collaboration session with [`SessionService::createSession`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_createSession):
20+
You can create new collaboration session with [`SessionService::createSession`](/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_createSession):
2021

2122
``` php
2223
[[= include_file('code_samples/collaboration/src/Command/ManageSessionsCommand.php', 69, 81) =]]
@@ -40,7 +41,7 @@ You can get an existing collaboration session with [`SessionService::getSession`
4041

4142
### Find sessions
4243

43-
You can find an existing session with [`SessionService::findSessions`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_findSessions) by:
44+
You can find an existing session with [`SessionService::findSessions`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_findSessions) by passing a SessionQeury (link to PHP API REF) object::
4445

4546
``` php
4647
[[= include_file('code_samples/collaboration/src/Command/ManageSessionsCommand.php', 86, 89) =]]
@@ -82,7 +83,8 @@ You can add participant to the collaboration session with [`SessionService::addP
8283

8384
### Get and update participant
8485

85-
You can update participant added to the collaboration session with [`SessionService::updateParticipant`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_updateParticipant):
86+
You can update participant added to the collaboration session with [`SessionService::updateParticipant`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_updateParticipant).
87+
The example below updates participant's permissions to allow for editing of shared content, not only previewing.
8688

8789
``` php
8890
[[= include_file('code_samples/collaboration/src/Command/ManageSessionsCommand.php', 117, 125) =]]
@@ -107,7 +109,7 @@ If no user is provided, current user is used.
107109

108110
### Check session participant
109111

110-
You can check the participant of the collaboration session with [`SessionService::isSessionParticipant`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_isSessionParticipant):
112+
You can check whether a user belongs to a collaboration session with [`SessionService::isSessionParticipant`](https://doc.ibexa.co/en/latest/api/php_api/php_api_reference/classes/Ibexa-Contracts-Collaboration-SessionServiceInterface.html#method_isSessionParticipant):
111113

112114
``` php
113115
[[= include_file('code_samples/collaboration/src/Command/ManageSessionsCommand.php', 135, 140) =]]
@@ -124,7 +126,7 @@ You can get an invitation with [`InvitationService::getInvitation`](https://doc.
124126
[[= include_file('code_samples/collaboration/src/Command/ManageSessionsCommand.php', 141, 150) =]]
125127
```
126128

127-
You can select the parameter that you can read from an invitation:
129+
You can select the property that you can read from an invitation:
128130

129131
- Invitation ID:
130132

docs/content_management/collaborative_editing/install_collaborative_editing.md

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ php bin/console ibexa:doctrine:schema:dump-sql vendor/ibexa/share/src/bundle/Res
7474
Then, if not using Symfony Flex, add the following code to the `config/bundles.php` file:
7575

7676
``` php
77-
<?php
77+
<?php
7878
7979
return [
8080
// A lot of bundles…
@@ -93,29 +93,34 @@ php bin/console ibexa:migrations:import vendor/ibexa/collaboration/src/bundle/Re
9393
php bin/console ibexa:migrations:migrate --file=2025_08_26_10_14_shareable_user.yaml
9494
```
9595

96-
You can now restart you application and start [working with the Collaborative editing feature]([[= user_doc =]]/content_management/collaborative_editing/work_with_collaborative_editing/).
97-
98-
### Security configurations
96+
### Security configuration
9997

10098
After an installation process is finished, go to `config/packages/security.yaml` and make following changes:
10199

102100
- uncomment following lines with `shared` user provider under the `providers` key:
103101

104102
```yaml
105-
providers:
103+
```suggestion
104+
security:
105+
providers:
106+
# ...
106107
shared:
107108
id: Ibexa\Collaboration\Security\User\ShareableLinkUserProvider
108109
```
109110
110111
- uncomment following lines under the `ibexa_shareable_link` key:
111112

112113
```yaml
113-
ibexa_shareable_link:
114+
security:
115+
# ...
116+
ibexa_shareable_link:
114117
request_matcher: Ibexa\Collaboration\Security\RequestMatcher\ShareableLinkRequestMatcher
115118
pattern: ^/
116119
provider: shared
117120
stateless: true
118121
user_checker: Ibexa\Core\MVC\Symfony\Security\UserChecker
119122
guard:
120123
authenticator: Ibexa\Collaboration\Security\Authenticator\ShareableLinkAuthenticator
121-
```
124+
```
125+
126+
You can now restart you application and start [working with the Collaborative editing feature]([[= user_doc =]]/content_management/collaborative_editing/work_with_collaborative_editing/).

0 commit comments

Comments
 (0)