Problem
After connecting your Google Account with the plugin, you might find that not all your Google Drive files are visible in the plugin interface. Or, you may only see a specific folder rather than your entire Drive contents.
Cause: Limited Access Due to 'Application Folder' Scope
This issue often occurs when your Google Drive account is connected with the 'Application Folder' scope. In this setup, the plugin can only access:
- The WP Cloud Plugins - Website Folder (Use-your-Drive) folder in your Google Drive (or the folder’s new name if you’ve renamed it).
- Files and folders that were added specifically by the plugin.
This limited access is due to the scope settings of Google Drive, not a restriction in the plugin itself. Files or folders added through the Google Drive web interface or Google Drive software won’t be accessible to the plugin under this scope.
Solution:
To resolve this issue, you have two options:
-
Reconnect your Google Drive account with the 'Entire Drive' scope. This will allow the plugin to access and display all the content on your Google Drive.
- Upload files via the plugin if you prefer to continue using the 'Application Folder' scope. This ensures that the plugin can access any new files within this limited folder.
Tips & Tricks:
- If you want the plugin to have full access to only a specific folder on your Google Drive, consider creating a second Google Drive account. Share only the folders you want accessible via WordPress with this account, and then link it to the plugin. This method is the safest option. Additionally, using a dedicated "website" cloud account makes it clear to all users that the content on that account is intended to be accessible via the site.
If this doesn't help you to solve the problem feel free to submit a support ticket and attach the debug.log file.