You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Per-database write protection: a database can be locked to read-only via a
new icon button in the projects view (amber when active) or the REST API
(PUT /admin/projects/{project}/databases/{db}/write-protection). Write
protection is independent of passwords — passwords control who may access
a database, the flag controls what may be done to its data. Protected
databases are always opened read-only by the storage engine, so SQL
DML/DDL and imports are rejected; reads and exports still work. Compaction
and password management remain available — they are maintenance
operations, not data writes.
The flag is stored in data/<project>/.project.json.