Skip to content

Finer-grained permissions for writing files? #2039

Closed as duplicate
Closed as duplicate

Description

@joshuacc

I'd like to allow my planning agent to write only *.md files, so that the original plan is persisted even if something goes wrong later in the process. But I don't want it to go writing anything else.

Activity

  1. github-actions commented on Aug 18, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    • Unifying tools and permissions #1961: Unifying tools and permissions - discusses how agents currently need to define both tools and permissions blocks, which is related to the need for more granular file writing permissions

    Feel free to ignore if this doesn't address your specific case of wanting to restrict writing to only *.md files.

  2. rekram1-node commented on Aug 18, 2025

    @rekram1-node
    Contributor

    this would be better addressed by #1961 but in meantime you can write a plugin to do this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions