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
{{ message }}
Repository navigation
[Feature Request]: Support protected databases (writable only by AccountAdmin) #24954
Is there an existing issue for the same feature request?
I have checked the existing issues.
Is your feature request related to a problem?
MOI (MatrixOne Intelligence) is a data platform built on top of MatrixOne, so some of MOI's system databases are stored in MO as well. We need these databases to be writable only by the AccountAdmin role, while all other roles should have read-only access. Otherwise, if a regular user drops or modifies these MOI system databases, MOI becomes completely unusable.
Describe the feature you'd like
Support a setting or configuration that can designate one or more specific databases as protected, so that only the AccountAdmin role can create, delete, or modify their contents, while all other roles are read-only.
Activity
daviszhen commentedon Jun 17, 2026
使用方法见 :
matrixone/test/distributed/cases/tenant/privilege/protected_database.sql
Line 15 in b8eae0f
例如:
然后用accountadmin / moadmin ,创建database.
理论上也可以先创建database xxx, 然后用
set global protected_databases = xxx提供保护.cherrypick: add protected database (#25058)
Ariznawlll commentedon Jun 29, 2026
测试通过