Skip to content

[Feature Request]: Support protected databases (writable only by AccountAdmin) #24954

Closed

Description

@LiSong0214

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.

Describe implementation you've considered

N/A

Additional information

N/A

Activity

  1. added theissue type on Jun 12, 2026
  2. changed the issue type fromtoon Jun 12, 2026
  3. added this to the MO-202606 milestone on Jun 12, 2026
  4. daviszhen commented on Jun 17, 2026

    @daviszhen
    Contributor

    使用方法见 :

    set global protected_databases = 'protected_bvt_db,protected_bvt_new,protected_bvt_clone,CamelDB';

    例如:

    set global protected_databases = 'protected_bvt_db,protected_bvt_new,protected_bvt_clone,CamelDB';

    然后用accountadmin / moadmin ,创建database.
    理论上也可以先创建database xxx, 然后用set global protected_databases = xxx 提供保护.

  5. ghost added a commit that references this issue on Jun 19, 2026
  6. Repository owner unassigned on Jun 22, 2026
  7. Ariznawlll commented on Jun 29, 2026

    @Ariznawlll
    Collaborator

    测试通过

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions