yandex: add app_folder option to support cloud_api:disk.app_folder OAuth scope - Fixes #9848
This commit is contained in:
@@ -125,6 +125,16 @@ are replaced.
|
||||
Invalid UTF-8 bytes will also be [replaced](/overview/#invalid-utf8),
|
||||
as they can't be used in JSON strings.
|
||||
|
||||
### Application folder
|
||||
|
||||
If you registered your own OAuth application with Yandex and only granted
|
||||
it the "Application Folder" permission (`cloud_api:disk.app_folder`)
|
||||
instead of full disk access, then you must set the `app_folder` option to
|
||||
`true`. Yandex Disk requires paths to be addressed with an `app:/` prefix
|
||||
instead of the usual `disk:/` prefix when using this restricted scope, and
|
||||
rclone will return a 403 Forbidden error on every request if this option
|
||||
isn't set correctly for the token in use.
|
||||
|
||||
<!-- autogenerated options start - DO NOT EDIT - instead edit fs.RegInfo in backend/yandex/yandex.go and run make backenddocs to verify --> <!-- markdownlint-disable-line line-length -->
|
||||
### Standard options
|
||||
|
||||
|
||||
Reference in New Issue
Block a user