tikv/tikv

Support rbac control for the data access

开放

#8,621 创建于 2020年9月8日

 (1 条评论) (5 个反应) (0 位负责人)Rust (2,189 个派生)batch import
component/securityhelp wantedsig/scheduling

仓库指标

星标
 (15,922 个星标)
PR 合并指标
 (平均合并 28天 9小时) (30 天内合并 68 个 PR)

描述

Feature Request

Is your feature request related to a problem? Please describe:

Currently, the user who have the pd address will have the ability to do every action in pd and tikv (read/write/delete). However, in real world users might need to have the different rights to access the data. (like mysql rbac control)

Describe the feature you'd like:

Adding rbac control for the TiKV and PD so that each request for access data to TiKV and PD will be checked by authorization and authentication.

The whole task would be split into following steps:

  • design authorization and authentication for PD to control the whole rbac process.
  • support authorization and authentication in PD for the PD API by rbac control
  • support rbac ability for pdclient in TiKV
  • support authorization and authentication in TiKV (metadata would be saved in PD)
  • support rbac ability for tikv-client.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

The detailed design document would be released recently by @Yisaer

贡献者指南