Commit Graph

322 Commits

Author SHA1 Message Date
9eff31083c tests: move test cases of privilege package to integration test (part1) (#47150)
close pingcap/tidb#47149
2023-09-25 04:13:45 +00:00
6271d1c80b executor: Escape object in show grants output (#46976)
close pingcap/tidb#46975
2023-09-20 02:34:42 +00:00
1c09fe39c5 *: modify headers of some source files in privilege (#46222) 2023-08-18 09:12:39 +00:00
2a674bca65 *: use std/slices to replace exp/slices (#46079)
ref pingcap/tidb#45933
2023-08-15 05:32:00 +00:00
0d308613cf privilege/privileges/ldap: support LDAP over SSL support (#45754)
close pingcap/tidb#45753
2023-08-07 10:30:21 +00:00
41accbe9e7 tests: remove some TODO comments (#45787) 2023-08-03 08:58:09 +00:00
1837efe528 resource_control: use const default resource group name (#44526)
ref pingcap/tidb#43691
2023-06-13 08:37:15 +00:00
f470c91cb1 linter: Convert untagged switch to tagged switch (#44429)
ref pingcap/tidb#40786
2023-06-06 02:33:39 +00:00
be8d865044 import into: impl import from server disk (#44273)
ref pingcap/tidb#42930
2023-06-05 13:21:40 +00:00
4c83352678 *: Introduce runaway statement in resource group (#43843)
ref pingcap/tidb#43691
2023-05-31 11:16:42 +00:00
cd834eec65 import into: impl IMPORT INTO statement part 1 (#44122)
ref pingcap/tidb#42930
2023-05-25 05:45:38 +00:00
4486008085 ldap: modify variable name and initialize connection with root_dn and root_pwd (#43824)
close pingcap/tidb#43822
2023-05-17 09:13:57 +00:00
e31595b056 *: fix ipv6 host address (#43815)
close pingcap/tidb#43286
2023-05-15 10:33:42 +00:00
7caffd9ba4 privilege, server: support LDAP authentication (#43582)
close pingcap/tidb#43580
2023-05-10 14:51:21 +00:00
ed1b4cf448 privilege: fix a null pointer error in ConnectionVerification (#42153)
close pingcap/tidb#42151
2023-03-13 21:28:38 +08:00
ea243088e1 load data: move param and some init logic into importer pkg (#42075)
ref pingcap/tidb#40499
2023-03-13 18:58:40 +08:00
0a57d81e9c sysvar: enable resource control by default (#41963)
close pingcap/tidb#41962
2023-03-07 15:33:11 +08:00
dde0c6c849 telemetry: set switch default to false (#41336)
close pingcap/tidb#41335
2023-02-14 15:10:01 +08:00
48bc046fe1 executor: support plan replayer capture remove task (#41258)
close pingcap/tidb#41262
2023-02-11 12:04:02 +08:00
975d177286 *: add resource group name into information_schema.processlist (#40739)
close pingcap/tidb#40724
2023-02-03 22:23:56 +08:00
f0575a847b *: unify wru,rru to ru (#40884)
close pingcap/tidb#40883
2023-02-02 11:47:56 +08:00
556c267758 server, privileges: make tidb_auth_session_token compatible with password expiration and resource group (#40735)
ref pingcap/tidb#40614
2023-01-20 13:51:49 +08:00
280b773206 ddl: prevent dropping in-use resource group (#40716)
ref pingcap/tidb#38825
2023-01-19 18:53:49 +08:00
971deb6202 *: add a new I_S table and support show create for resource groups (#40665)
close pingcap/tidb#39781
2023-01-17 23:37:49 +08:00
22746c0068 privilege,planner/core: add dynamic privilege RESOURCE_GROUP_ADMIN for resource group operation (#40632)
ref pingcap/tidb#38825
2023-01-17 20:47:49 +08:00
b8e5460a84 *: add new global variable tidb_enable_resource_control as a switch (#40440)
ref pingcap/tidb#38825
2023-01-12 22:01:46 +08:00
df019ae5ba parser: use identifier as user's resource group name (#40479)
* parser: use identifier as user's resource group name and also fix a drop resource group bug

Signed-off-by: BornChanger <dawn_catcher@126.com>

* executor: fix case

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: format parser.y

Signed-off-by: BornChanger <dawn_catcher@126.com>

* *: fix store function of resource group

Signed-off-by: BornChanger <dawn_catcher@126.com>

Signed-off-by: BornChanger <dawn_catcher@126.com>
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-12 15:50:34 +08:00
59cda14a4e *: Support Failed-Login Tracking and Temporary Account Locking (#39322)
close pingcap/tidb#38938
2022-12-10 07:45:44 +08:00
8e3cbac057 *: bind user to some resource group (#39561)
ref pingcap/tidb#38825
2022-12-07 19:26:04 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
c354b8bd07 extension: add support for extension to custom table and sysvar privileges (#39137)
close pingcap/tidb#39136
2022-11-15 12:11:55 +08:00
f9c7bbccec *: authentication using tidb_auth_token plugin (#38773)
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
0e23da6e7c *: create a user using tidb_auth_token authentication (#38585)
ref pingcap/tidb#38504
2022-10-31 11:47:59 +08:00
93e0d36742 extension: init tidb new extension framework (#38497)
close pingcap/tidb#38496
2022-10-19 21:13:54 +08:00
a6db4b7ed4 privilege/privileges: sort in-memory db privilege table records (#37688)
close pingcap/tidb#37488
2022-09-19 15:55:01 +08:00
1d482db4dd *: Support for tidb_sm3_password authentication (#36193)
close pingcap/tidb#36192
2022-09-08 12:00:57 +08:00
331707cfdc infoschema: check hidden sysvars for SEM (#37587)
close pingcap/tidb#37586
2022-09-04 13:32:26 +08:00
a2cfa5379b *: fix a bug found by jdbc_test (#37492)
close pingcap/tidb#37493
2022-08-31 14:14:24 +08:00
a89ef1f276 *: support ACCOUNT (UN)LOCK when creating/altering user (#37052)
close pingcap/tidb#35961, close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
af989fb6c4 executor: add privilege check for prepare stmt (#36933)
close pingcap/tidb#35784
2022-08-10 21:32:50 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
e9f3980853 table partition: exchange partition with table enhance (#35749)
close pingcap/tidb#35996
2022-07-21 00:13:09 +08:00
55aea2787d *: use pdqsort to improve sort performance (#34404)
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
65e0b8e541 client: KV requests with source label (#34833)
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
16df1942d0 *: add timeout for test cases (#35844) 2022-06-30 20:18:38 +08:00
d4dc6b54c6 *: enable staticcheck and prealloc on nogo (#35486)
ref pingcap/tidb#35345
2022-06-22 22:00:37 +08:00
b0b1c7cb3e *: close RecordSet (#35341)
ref pingcap/tidb#31716
2022-06-14 09:56:33 +08:00
395ccbe22d privilege: limit the privileges in memory schemas (#35260)
close pingcap/tidb#35205
2022-06-13 18:42:32 +08:00
06737ecd29 privileges: enable flaky test (#35299)
ref pingcap/tidb#35247
2022-06-11 00:20:31 +08:00