Skip to content

Support the enforceExpansiveAccess flag when working with Google Drive permissions #8980

Closed

Description

@chscott

The associated forum post URL from https://forum.rclone.org

N/A

What is your current rclone version (output from rclone version)?

rclone v1.70.0-beta.8738.339ada4f8.fix-8545-onedrive-consistency
- os/version: Microsoft Windows 11 Pro 25H2 25H2 (64 bit)
- os/kernel: 10.0.26200.7171 (x86_64)
- os/type: windows
- os/arch: amd64
- go/version: go1.24.3
- go/linking: static
- go/tags: cmount

What problem are you are trying to solve?

Google is migrating to limited folder access within the expansive access model, which will be common to both My Drive and shared drives. The change is expected to occur in February of next year. This impacts our application, which integrates with rclone.

How do you think rclone should be changed to solve that?

Support the enforceExpansiveAccess flag when using the Google Drive permissions.create, permissons.delete and permissions.update methods. Ideally, we'd be able to toggle this on or off via a CLI flag.

This change will help us test the feature to identify any issues in advance of it being rolled out for general availability.

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Activity

  1. added
    Support Contract
    on Nov 18, 2025
  2. ncw commented on Nov 18, 2025

    @ncw
    Member

    Heads up @rclone/support - the "Support Contract" label was applied to this issue.

  3. added a commit that references this issue on Nov 18, 2025
    b51da27
  4. ncw commented on Nov 18, 2025

    @ncw
    Member

    Please give this a go @chscott - this implements the --metadata-force-expansive-access flag

    v1.72.0-beta.9310.b51da2777.fix-8980-drive-expansive-access on branch fix-8980-drive-expansive-access (uploaded in 15-30 mins)

  5. ncw commented on Nov 18, 2025

    @ncw
    Member

    Sorry got the name of the flag wrong

     --drive-metadata-enforce-expansive-access   Whether the request should enforce expansive access rules
    
  6. ncw commented on Jan 29, 2026

    @ncw
    Member

    I don't think this ever got merged @chscott

    Do you want it merged?

  7. chscott commented on Jan 29, 2026

    @chscott
    Author

    I don't think this ever got merged @chscott

    Do you want it merged?

    That would be great, thanks!

  8. ncw commented on Jan 30, 2026

    @ncw
    Member

    I've merged this to master now which means it will be in the latest beta in 15-30 minutes and released in v1.73

  9. added a commit that references this issue on Feb 14, 2026
    d9de6c5
  10. added a commit that references this issue on Jul 20, 2026
    ab0261f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Support Contract

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions