Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix privilege problems of accessing information_schema #26120

Closed
10 tasks done
djshow832 opened this issue Jul 12, 2021 · 3 comments
Closed
10 tasks done

Fix privilege problems of accessing information_schema #26120

djshow832 opened this issue Jul 12, 2021 · 3 comments
Labels
severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.

Comments

@djshow832
Copy link
Contributor

djshow832 commented Jul 12, 2021

Background

There are some privilege problems of accessing the tables in information_schema.
Generally, there are 2 kinds of problems:

  1. Users without PROCESS privilege should be unable to access the cluster data, such as cluster_config, but they can.
  2. Users without the super privilege should able to access their own data, such as user_privileges, but they can access all.

Risks

Many tools query tables in information_schema. Those tools may need special privileges to import / export / backup / restore data.

Milestones

Stage 1

Fix some issues and merge them into 5.1.1 before 2021-7-20.

Stage 2

TBD

@bb7133
Copy link
Member

bb7133 commented Jul 21, 2021

@djshow832 Can we close this issue now?

@bb7133 bb7133 closed this as completed Jul 22, 2021
@ti-srebot
Copy link
Contributor

Please edit this comment or add a new comment to complete the following information

Not a bug

  1. Remove the 'type/bug' label
  2. Add notes to indicate why it is not a bug

Duplicate bug

  1. Add the 'type/duplicate' label
  2. Add the link to the original bug

Bug

Note: Make Sure that 'component', and 'severity' labels are added
Example for how to fill out the template: #20100

1. Root Cause Analysis (RCA) (optional)

2. Symptom (optional)

3. All Trigger Conditions (optional)

4. Workaround (optional)

5. Affected versions

6. Fixed versions

@djshow832
Copy link
Contributor Author

Fine, I'll reopen it after I list the issues in stage 2. @bb7133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
severity/major sig/sql-infra SIG: SQL Infra type/bug The issue is confirmed as a bug.
Projects
None yet
Development

No branches or pull requests

4 participants