This class is for requesting and managing access to modules/folders on
the remote. It gets initialized as
List of functions¶
Claim access on a given scope with given mode.
- scope (string) – An access scope, such as “contacts” or “calendar”
- mode (string) – Access mode. Either “r” for read-only or “rw” for read/write
remoteStorage.access.claim('contacts', 'r'); remoteStorage.access.claim('pictures', 'rw');
Claiming root access, meaning complete access to all files and folders of a storage, can be done using an asterisk for the scope: