Skip to content

Commit 5c48799

Browse files
committed
updated to add access function role
1 parent 55345e1 commit 5c48799

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ This grants access to the specified channel(s) for all users assigned that role.
3232

3333
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

35+
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 automatically apply to them.
37+
3538
NOTE: The sync function `access()` call does not support the wildcard ('***') for granting access to all channels.
3639
To grant a user access to all channels, use the REST API channel grant endpoint.
3740

0 commit comments

Comments
 (0)