Is there currently a way to allow multiple users to access the same Realm?
Right now the only way I could find is to use an 'app account' instead of an user account, as proposed in another question.
thanks!
Is there currently a way to allow multiple users to access the same Realm?
Right now the only way I could find is to use an 'app account' instead of an user account, as proposed in another question.
thanks!
In general, you can connect to a Realm file at a virtual path. They must be always absolute, so begin with a leading slash /
and never carry a file suffix. Realms at a file name with two leading underscores are considered internal state of the Realm Object Server and have special meaning.
If a path is prefixed by /~/
(like the home directory), the ~
will be expanded by the ID of the user, who is exclusively privileged to create, read and write to Realm files placed within this virtual directory.
If there is no such prefix (e.g. /global
), then this is a global Realm. Global Realms may only be created by admin users, but are by default readable by everyone.
Unfortunately we don't offer a direct client-side API yet to manage permissions. But you can access the admin realm living at /__admin
with the browser and find the permissions for the given file. Permission
where the user
is set are specific to this user. The Permission
where no user is set are the default permissions. They apply for all users who don't have specific permissions configured. The owner has full access by default by an explicit Permission
entry.