Skip to content

Add docs for dynamic privileges#5077

Merged
ti-chi-bot merged 13 commits into
pingcap:masterfrom
morgo:document-dynamic-privs
Jun 8, 2021
Merged

Add docs for dynamic privileges#5077
ti-chi-bot merged 13 commits into
pingcap:masterfrom
morgo:document-dynamic-privs

Conversation

@morgo
Copy link
Copy Markdown
Contributor

@morgo morgo commented Mar 22, 2021

What is changed, added or deleted? (Required)

This feature documents pingcap/tidb#22778 which has not yet merged. It only applies to master, and fixes a couple of other small bugs (around password -> authentication_string).

The list of "Privileges required for TiDB operations" is changed to an example, because the list does not account for dynamic privileges so it gets confusing.

The PR includes comments for where the version after 5.0 will need to be inserted. Thus, the PR should be labeled as requiring followup after merging as well.

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

  • master (the latest development version)
  • v5.0 (TiDB 5.0 versions)
  • v4.0 (TiDB 4.0 versions)
  • v3.1 (TiDB 3.1 versions)
  • v3.0 (TiDB 3.0 versions)
  • v2.1 (TiDB 2.1 versions)

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

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 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 22, 2021
@yikeke
Copy link
Copy Markdown
Contributor

yikeke commented Mar 24, 2021

/label for-future-release

@ti-chi-bot
Copy link
Copy Markdown
Member

@yikeke: The label(s) for-future-release cannot be applied. These labels are supported: DNM until Ansible tag is ready, Hacktoberfest, contribution, first-time-contributor, follow-up, good-first-issue, hacktoberfest-accepted, help-wanted, needs-cherry-pick-2.1, needs-cherry-pick-3.0, needs-cherry-pick-3.1, needs-cherry-pick-4.0, needs-cherry-pick-5.0, needs-cherry-pick-master, question, require-LGT1, require-LGT2, require-LGT3, special-week, v4.0, v5.0, v6.0, version-specific-changes-required, website.

Details

In response to this:

/label for-future-release

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@pingcap pingcap deleted a comment from ti-chi-bot Mar 24, 2021
@ti-chi-bot
Copy link
Copy Markdown
Member

@yikeke: The label(s) for-future-release cannot be applied. These labels are supported: DNM until Ansible tag is ready, Hacktoberfest, contribution, first-time-contributor, follow-up, good-first-issue, hacktoberfest-accepted, help-wanted, needs-cherry-pick-2.1, needs-cherry-pick-3.0, needs-cherry-pick-3.1, needs-cherry-pick-4.0, needs-cherry-pick-5.0, needs-cherry-pick-master, question, require-LGT1, require-LGT2, require-LGT3, special-week, v4.0, v5.0, v6.0, version-specific-changes-required, website.

Details

In response to this:

/label for-future-release

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@yikeke yikeke added for-future-release This PR only applies to master for now and might cherry-pick to a future release. requires-followup This PR requires a follow-up task after being merged. labels Mar 24, 2021
@TomShawn
Copy link
Copy Markdown
Contributor

TomShawn commented May 7, 2021

/cc @tiancaiamao @bb7133
/translation doing
/assign @Joyinqin

@ti-chi-bot ti-chi-bot added the translation/doing This PR's assignee is translating this PR. label May 7, 2021
@ti-chi-bot ti-chi-bot requested review from bb7133 and tiancaiamao May 7, 2021 09:09
@ti-chi-bot ti-chi-bot removed the missing-translation-status This PR does not have translation status info. label May 7, 2021
Comment thread privilege-management.md Outdated
@tiancaiamao
Copy link
Copy Markdown
Contributor

/LGTM

@ti-chi-bot ti-chi-bot added the status/LGT1 Indicates that a PR has LGTM 1. label May 19, 2021
@TomShawn
Copy link
Copy Markdown
Contributor

/hold

@ti-chi-bot ti-chi-bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label May 31, 2021
@qiancai
Copy link
Copy Markdown
Collaborator

qiancai commented May 31, 2021

Hi @morgo, we are preparing the user docs for TiDB v5.1 and would like to know whether the doc changes of this PR apply to TiDB v5.1 or not. Would you please check and reply? Thanks!

@qiancai qiancai added v5.1 This PR/issue applies to TiDB v5.1. and removed for-future-release This PR only applies to master for now and might cherry-pick to a future release. labels May 31, 2021
@TomShawn TomShawn added sig/docs Indicates that the Issue or PR belongs to the docs SIG. area/sql-infra Indicates that the Issue or PR belongs to the area of sql-infra and sql-metadata. labels Jun 1, 2021
Comment thread privilege-management.md Outdated
Comment thread privilege-management.md Outdated
morgo and others added 2 commits May 31, 2021 21:53
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
Comment thread privilege-management.md Outdated
morgo and others added 2 commits June 1, 2021 13:17
Co-authored-by: TomShawn <41534398+TomShawn@users.noreply.github.com>
@morgo
Copy link
Copy Markdown
Contributor Author

morgo commented Jun 1, 2021

I have added the privilege RESTORE_ADMIN to the document. It has not merged yet, but should shortly: pingcap/tidb#25039

This is the result of a discussion to a bug fix where we determined this was the best outcome.

@TomShawn
Copy link
Copy Markdown
Contributor

TomShawn commented Jun 2, 2021

/lgtm

@ti-chi-bot
Copy link
Copy Markdown
Member

@TomShawn: Please use GitHub review feature instead of /lgtm [cancel] when you want to submit review to the pull request.
For how to use GitHub review feature, see also this document provided by GitHub.

For the reason we drop support to the commands, see also this page.
This reply is being used as a temporary reply during the migration of review process and will be removed on July 1st.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository.

@ti-chi-bot
Copy link
Copy Markdown
Member

[REVIEW NOTIFICATION]

This pull request has been approved by:

  • TomShawn
  • tiancaiamao

To complete the pull request process, please ask the reviewers in the list to review by filling /cc @reviewer in the comment.
After your PR has acquired the required number of LGTMs, you can assign this pull request to the committer in the list by filling /assign @committer in the comment to help you merge this pull request.

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

Details

Reviewer can indicate their review by submitting an approval review.
Reviewer can cancel approval by submitting a request changes review.

@ti-chi-bot ti-chi-bot added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Jun 2, 2021
@TomShawn
Copy link
Copy Markdown
Contributor

TomShawn commented Jun 3, 2021

@Joyinqin This PR is ready for translation. Thanks!

@Joyinqin
Copy link
Copy Markdown
Contributor

Joyinqin commented Jun 4, 2021

/translation done
/remove-translation doing

@ti-chi-bot ti-chi-bot 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 Jun 4, 2021
@TomShawn TomShawn removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jun 8, 2021
@TomShawn
Copy link
Copy Markdown
Contributor

TomShawn commented Jun 8, 2021

/merge

@ti-chi-bot
Copy link
Copy Markdown
Member

This pull request has been accepted and is ready to merge.

DetailsCommit hash: 221930d

@ti-chi-bot ti-chi-bot added the status/can-merge Indicates a PR has been approved by a committer. label Jun 8, 2021
@ti-chi-bot ti-chi-bot merged commit 2f61c30 into pingcap:master Jun 8, 2021
@morgo morgo deleted the document-dynamic-privs branch June 9, 2021 01:02
@TomShawn TomShawn removed the requires-followup This PR requires a follow-up task after being merged. label Jul 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/sql-infra Indicates that the Issue or PR belongs to the area of sql-infra and sql-metadata. sig/docs Indicates that the Issue or PR belongs to the docs SIG. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2. translation/done This PR has been translated from English into Chinese and updated to pingcap/docs-cn in a PR. v5.1 This PR/issue applies to TiDB v5.1.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants