Skip to content
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

Support "read-only" Couch databases #7360

Closed
akhenry opened this issue Jan 8, 2024 · 1 comment · Fixed by #7413
Closed

Support "read-only" Couch databases #7360

akhenry opened this issue Jan 8, 2024 · 1 comment · Fixed by #7413
Labels
type:feature Feature. Required intentional design verified Tested or intentionally closed
Milestone

Comments

@akhenry
Copy link
Contributor

akhenry commented Jan 8, 2024

Is your feature request related to a problem? Please describe.
The Open MCT Couch plugin should support a flag that designates a specified database as "read-only". Couch DB does not natively support the concept of read-only databases, but they can be implemented using design documents.

Describe the solution you'd like
A flag specifying that a database is read-only when the Couch plugin is installed. I think we will need a new optional isReadOnly function on object providers, since it currently feature detects create and update functions, and we need more control that this since we are using the CouchObjectProvider for both mutable and read-only databases.

Note that it probably makes sense to implement #7359 before implementing this change.

@scottbell
Copy link
Contributor

Testing notes for this ticket are here.

@unlikelyzero unlikelyzero added this to the Target:4.0.0 milestone Jan 31, 2024
@unlikelyzero unlikelyzero added type:feature Feature. Required intentional design and removed type:enhancement labels Jan 31, 2024
@unlikelyzero unlikelyzero added the verified Tested or intentionally closed label Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Feature. Required intentional design verified Tested or intentionally closed
Projects
None yet
4 participants