Skip to content

wishlist: read-only  #8

@chrysn

Description

@chrysn

it seems that there is currently no easy way to run pywebdav3 read-only (short of running it as a user w/o write permissions, which on linux afaict requires root privileges). please consider adding a read-only switch to the default server.

implementation-wise, i'd suggest splitting the FilesystemHandler class into a FilesystemReadHandler and a FilesystemRWHandler (apart from the last two methods, the code already looks like it's split accordingly); this would ease auditing compared to a flag set to the FilesystemHandler.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions