dolthub / dolthub/dolt

Cluster replication should support permissions and documentation for such on `dolt_assume_cluster_role`

Open
#4,568 0 comments 0 reactions 0 assignees View on GitHub
enhancement replication
Dominant language
Go
Stars
24.4k
Forks
873
Avg merge
1d 8h
Merged PRs (30d)
120

Description

`CALL dolt_assume_cluster_role` is very powerful and can be used to disrupt the availability and in some cases the committed writes of an existing doltdb cluster. We should provide permissions around it at the SQL layer and guidance around how to control access to it.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the SQL entry point for CALL dolt_assume_cluster_role and the existing permission-checking and cluster-replication documentation. Determine how access is currently controlled, then define permission behavior and add guidance for limiting access. Done means unauthorized calls are blocked as intended and the documentation explains the security and availability risks.

Written by the indexing model from the issue text.

Assessment

Tech stack
sql
Domain
authorization, databases, distributed-systems
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.