Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15000

[Realm Sync] Update expression expansion list to include %%user

    • Type: Icon: Task Task
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Realm
    • Labels:
      None

      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.

            Assignee:
            nick.larew@mongodb.com Nicholas Larew
            Reporter:
            mansoor.omar@mongodb.com Mansoor Omar (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              2 years, 13 weeks, 2 days ago