Skip to content

Only warn if opening writeable store with mode='r' #3155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dstansby
Copy link
Contributor

See much discussion in #3068 - instead of erroring, this just warns now. ping @maxrjones

@dstansby dstansby added this to the 3.1.0 milestone Jun 19, 2025
@dstansby dstansby requested a review from d-v-b June 19, 2025 14:06
Copy link
Contributor

@d-v-b d-v-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems good to me, but we really need to prioritize a coherent permissions story later on

@maxrjones
Copy link
Member

maxrjones commented Jun 19, 2025

I still prefer the approach suggested in #3068 (comment) to create a read-only copy because it solves the bug mentioned in #3147. I sketched out this approach in 5b83732 but did not open a PR yet because it builds off the functionality in #3138.

@maxrjones
Copy link
Member

I still prefer the approach suggested in #3068 (comment) to create a read-only copy because it solves the bug mentioned in #3147. I sketched out this approach in 5b83732 but did not open a PR yet because it builds off the functionality in #3138.

@dstansby if you have time could you please take a look at #3156 as an alternative solution?

@dstansby
Copy link
Contributor Author

👍 sounds good - will put this in draft, and we can close if/when the other PR is merged.

@dstansby dstansby marked this pull request as draft June 20, 2025 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants