tidb
tidb copied to clipboard
Implement column level privilege on v8.5
We split the huge https://github.com/pingcap/tidb/pull/61638 into 3 phases
Phase 1
- [P0] Adapt the
GRANTandREVOKEfor column privilege https://github.com/pingcap/tidb/pull/61678 - [P1] Adapt the
MySQLPrivilegeto support column privilege https://github.com/pingcap/tidb/pull/61677 - [P2] Adapt the
show columns,show indexandrenamefor column privilege https://github.com/pingcap/tidb/pull/61679
Phase 2
- [P0] Adapt the normal plan build process to collect column-level visit info https://github.com/pingcap/tidb/pull/61741
Phase 3
- [P0] Adapt the point-get plan build process
- [P2] Introduces column-priv view in
information_schemahttps://github.com/pingcap/tidb/pull/61777
[P0] After the 3 phases, we also need to cherry-pick #58945 for improving performance: https://github.com/pingcap/tidb/pull/61719