Skip to content

docs: document column-level privileges (v8.5)#21437

Open
fzzf678 wants to merge 13 commits intopingcap:release-8.5from
fzzf678:release-8.5-doc-column-privilege
Open

docs: document column-level privileges (v8.5)#21437
fzzf678 wants to merge 13 commits intopingcap:release-8.5from
fzzf678:release-8.5-doc-column-privilege

Conversation

@fzzf678
Copy link
Contributor

@fzzf678 fzzf678 commented Mar 13, 2026

What is changed, added or deleted? (Required)

  • Add a Chinese user doc for TiDB column-level privileges (column-privilege-management.md).
  • Update TOC.md and privilege-management.md to link the new doc.
  • Update GRANT <privileges> / REVOKE <privileges> docs and mysql-compatibility.md to reflect column-level privilege support in TiDB v8.5.

Which TiDB version(s) do your changes apply to? (Required)

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

  • Other reference link(s):
    • pingcap/tidb branch: release-8.5-20250606-v8.5.2 (column privilege implementation; commits after 4f65dffdd6480fc1c36c61fe7cd655f163bc9d41).

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot ti-chi-bot bot added missing-translation-status This PR does not have translation status info. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Mar 13, 2026

| 场景 | TiDB | MySQL |
| :-- | :-- | :-- |
| 收回用户未被授予的列级权限 | `REVOKE` 可以成功执行 | `REVOKE` 会报错 |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个场景下,似乎不能说明 TiDB 检查更加严格。建议直接说差异即可。

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All fixed, PTAL again

fzzf678 and others added 3 commits March 16, 2026 17:51
Co-authored-by: Frank945946 <108602632+Frank945946@users.noreply.github.com>
Co-authored-by: Frank945946 <108602632+Frank945946@users.noreply.github.com>
@hfxsd hfxsd self-assigned this Mar 17, 2026
@hfxsd hfxsd added translation/doing This PR’s assignee is translating this PR. and removed missing-translation-status This PR does not have translation status info. labels Mar 17, 2026
@hfxsd hfxsd requested a review from tiancaiamao March 17, 2026 03:19
@ti-chi-bot
Copy link

ti-chi-bot bot commented Mar 17, 2026

[LGTM Timeline notifier]

Timeline:

  • 2026-03-17 05:17:27.553298479 +0000 UTC m=+247774.640956006: ☑️ agreed by tiancaiamao.

@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Mar 17, 2026
@ti-chi-bot
Copy link

ti-chi-bot bot commented Mar 17, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please ask for approval from hfxsd. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

github-actions bot added a commit to hfxsd/docs that referenced this pull request Mar 18, 2026
Synced from: pingcap/docs-cn#21437
Target PR: pingcap#22574
AI Provider: gemini

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@hfxsd hfxsd added translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. and removed translation/doing This PR’s assignee is translating this PR. labels Mar 18, 2026
@hfxsd hfxsd requested a review from lilin90 March 19, 2026 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-1-more-lgtm Indicates a PR needs 1 more LGTM. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants