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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Works as Designed
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • Realm
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:
              2 years, 2 weeks, 1 day ago