Commit Graph

172 Commits

Author SHA1 Message Date
5f59f01625 *: fix error message of access denied (#17449)
Co-authored-by: tiancaiamao <tiancaiamao@gmail.com>
2020-06-05 19:51:54 +08:00
9e16c59ef0 privileges: support require SAN (#17539) 2020-06-05 11:24:43 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
468b8c6f7b executor, privilege: introduce a new privilege for the set config statement (#16847) 2020-04-27 14:17:38 +08:00
82bb3ced74 makefile: let make fmt ensure std imports before non-std (#16816) 2020-04-26 10:37:24 +08:00
26ba532e9d plan, privilege:fix load data privilege check (#16607) 2020-04-23 00:05:36 +08:00
b1d11a7091 *: rename statement summary tables (#16188) 2020-04-15 15:30:32 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
d60567f765 privilege: fix select current_role() error (#15534) 2020-03-23 13:37:34 +08:00
55532d99e2 Moved connection-time SSL errors from Debug to Info log level (#15308) 2020-03-13 10:10:02 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00
9df0780764 privilege: add DDL and DML privilege check for system tables (#15095) 2020-03-04 14:57:47 +08:00
8431c10258 privilege: fix compatibility of DBIsVisible (#14862) 2020-02-25 21:25:36 +08:00
344c48d3b4 *: change field name 'password' to 'authentication_string' in mysql.user (#14598) 2020-02-19 11:58:42 +08:00
fa04a3218d *: add privilege check for slow_query and cluster memory table (#14451) 2020-02-12 18:28:44 +08:00
465af00b46 *: use new registrable terror (#14606) 2020-02-06 16:40:26 +08:00
e4eb58c86d executor: grant table level privilege should check table exist (#14540) 2020-01-30 11:57:23 +08:00
4ed347cff8 planner,session: add Reload and File privilege, check Reload for the flush statement (#14319) 2020-01-09 19:59:12 +08:00
c2319eca4d privilege: fix DBIsVisible privilege check (#14190) 2020-01-07 11:10:09 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
adc4931a94 privilege: Support identifying user created by IP and net mask (#14123) 2019-12-27 12:34:59 +08:00
cd07c4550d *: support certificate based authentication (#13955) 2019-12-23 11:37:29 +08:00
5da10ffecc *: refine some error code (#14002) 2019-12-12 11:09:58 +08:00
43334246cc privilege/privileges: improve authentication performance when there are a lot of privilege records (#13998) 2019-12-12 10:59:28 +08:00
826e1d712b *: cleanup error code (#13874) 2019-12-03 20:29:09 +08:00
2de2baa256 *: fix staticcheck errors in folder bindinfo, config, infoschema, meta and privilege (#13702) 2019-11-26 17:27:29 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
d473f2d855 privilege: add authHost and use authHost to verificate (#13544) 2019-11-22 11:07:07 +08:00
7c63212b07 privilege: fix REVOKE privilege check incompatibility with MySQL (#13014) 2019-11-09 11:03:14 +08:00
02b7634954 privileges: refine infoschema privilege check (#13006) 2019-10-30 16:45:23 +08:00
9a074ca8a7 executor: fix inconsistent of grants privileges with MySQL when executing grant all on ... (#12330) 2019-10-23 11:33:53 +08:00
5bf03c8df4 executor: add SHUTDOWN command and privilege check (#12804) 2019-10-21 21:49:56 +08:00
0cb06e699d planner/core: fix point-get db privilege check (#12268) 2019-09-23 11:40:45 +08:00
9b0eb1a006 privilege: make 'grant all privileges' work right (#11449) 2019-07-31 14:51:10 +08:00
c00d8a95cf executor, privilege: fix some two bug of RBAC (#11273) 2019-07-22 13:08:03 +08:00
0d563f1e2d stats: fix unstable test (#10953) 2019-06-27 13:51:16 +08:00
d244723a5e executor: remove unused structure RecordBatch (#10891) 2019-06-26 15:26:16 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
e9ab859d1d privileges: add SkipWithGrant check for RBAC methods (#10681) 2019-06-05 10:44:27 +08:00
c4db7b7655 planner, executor: fix show view privileges for explain (#10585) 2019-05-27 13:22:28 +08:00
8344801d32 executor,privilege: fix "show grants" result for RBAC (#10571) 2019-05-24 13:18:58 +08:00
1690912375 privilege,executor: update DBIsVisible() function for RBAC (#10261) 2019-05-08 15:23:46 +08:00
0b8ce46f0c priviege, executor: add set role option (#10268) 2019-05-08 14:10:21 +08:00
58d1bb8cb3 privilege: support authentication with active roles (#10125) 2019-04-23 10:05:53 +08:00
7cc7323138 plan, privilege: add role support for SHOW GRANT (#10016) 2019-04-21 12:38:28 +08:00
abeddab5ba privilege, executor: support SET DEFAULT ROLE (#9949) 2019-04-17 14:25:49 +08:00
5ffa06b6c3 *: unify and normalize the format of the log in the pkg of server (#9878) 2019-03-25 16:10:36 +08:00
778c3f4a5a privilege, executor: add SET ROLE and CURRENT_ROLE support (#9581) 2019-03-21 13:11:27 +08:00
45c9458236 planner: fix select denied message (#9627) 2019-03-11 18:38:08 +08:00
4f232e5c8d executor: add CREATE ROLE support (#9461) 2019-03-01 10:07:28 +08:00