In general, you can connect to a Realm file via a virtual path. They should always be absolute, so start with a slash / and never carry the suffix of a file. Areas with a file name with two leading underscores are considered the internal state of the Realm object server and are of particular importance.
If the path has the prefix /~/ (for example, the home directory), ~ will be expanded by the identifier of the user who has the exclusive privilege to create, read and write Realm files located in this virtual directory.
If there is no such prefix (for example, /global ), then this is the global Realm. Global Realms can only be created by administrators, but by default are available to everyone.
Unfortunately, we do not offer a direct client API for managing permissions. But you can access the admin kingdom living in /__admin with a browser and find permissions for this file. Permission , where the user parameter is set, refers to this user. Permission , where the user is not installed, are the default permissions. They apply to all users who do not have specific permissions. The owner has full access by default using an explicit Permission entry.
source share