Correct docs about permissions for Dropbox backend (and why not Google Drive?) #1312
Description
the lack of a permission model. So apps can usually access all of a user's storage with these backends (vs. only relevant parts of the storage with RS accounts)
This is not accurate for Dropbox. Users of my app see an API Request Authorization page from dropbox.com that says:
chatgptweb-sync would like to:
Edit content of your Dropbox files and folders, view content of your Dropbox files and folders, and view and edit information about your Dropbox files and folders, only within the Apps › chatgptweb-sync folder
View basic information about your Dropbox account such as your username, email, and country
That RS docs excerpt does seem to be accurate currently for the Google Drive backend, surprisingly. But is that necessary? Could've sworn I've granted some app's Google Drive integration access to just its "app data folder" before, i.e. this https://developers.google.com/drive/api/guides/appdata. More specifically, why can't we just replace this line:
remotestorage.js/src/googledrive.ts
Line 17 in 1e0cccc
with
https://www.googleapis.com/auth/drive.appdata
? It's described as "View and manage the app's own configuration data in your Google Drive." There is also a drive.appfolder
scope code (see here); not sure if that's just an alias or what.