Skip to content

Commit a83218e

Browse files
committed
updated to comply with style guide
1 parent 984298f commit a83218e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/ROOT/pages/_partials/sync-api/sync-function-api-access.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ You can invoke this function multiple times from within your Sync Function.
3030
TIP: Prefix the `username` argument value with `role:` to apply this function to a role rather than a user.
3131
This grants access to the specified channel(s) for all users assigned that role.
3232

33-
The effects of all access calls by all active documents are effectively combined in a union, so if _any_ document grants a user access to a channel, that user has access to the channel.
33+
The effects of all access calls by all active documents are effectively combined in a union, so if any document grants a user access to a channel, that user has access to the channel.
3434

3535
The `access()` function grants access to users or roles that do not yet exist.
36-
When you create such users or define roles later, the previous granted access permissions apply to them.
36+
When you create new users or define roles later, the previous granted access permissions apply to them.
3737

3838
NOTE: The sync function `access()` call does not support the wildcard ('***') for granting access to all channels.
3939
To grant a user access to all channels, use the REST API channel grant endpoint.

0 commit comments

Comments
 (0)