[DOCS-15000] [Realm Sync] Update expression expansion list to include %%user Created: 28/Dec/21  Updated: 27/Oct/23  Resolved: 25/Jan/22

Status: Closed
Project: Documentation
Component/s: Realm
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor - P4
Reporter: Mansoor Omar Assignee: Nicholas Larew
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Participants:
Days since reply: 2 years, 2 weeks, 1 day ago

 Description   

The article below mentions only %%partition

https://docs.mongodb.com/realm/rules/expressions/#sync-expansions

It should also include %%user in the list to make it consistent with the following:

https://docs.mongodb.com/realm/sync/data-access-patterns/permissions/#permissions

Your rule expressions can use JSON expansions like %%partition and %%user to dynamically determine a user's permissions based on the context of their request.



 Comments   
Comment by Nicholas Larew [ 25/Jan/22 ]

We already document %%user on the linked page.

Generated at Thu Feb 08 08:11:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.