Commit Graph

249 Commits

Author SHA1 Message Date
7746b6b70a test: fix incorrect regexp pattern during migrating test (#30080) 2021-12-02 05:51:53 +08:00
7fc6ebbda4 privilege, session, server: consistently map user login to identity (#30204) 2021-11-30 17:01:53 +08:00
e65f548a40 privilege: disable role privilege when it is revoked from an user (#30028) 2021-11-24 19:51:51 +08:00
e45387309b executor: fix error msg of granting non-table level privilege (#29321) 2021-11-23 15:05:50 +08:00
7aa86cc96a *: Enable gosec for implicit memory aliasing in for loop (#28996) 2021-11-19 20:07:48 +08:00
dc67b57c5e *: fix nil pointer panic of some operations when skip-grant-table is true (#29358) 2021-11-03 15:09:00 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
8d9647dee5 privileges: fix create temporary tables privilege (#29279) 2021-11-01 16:46:51 +08:00
42067720e9 ddl: Ensure feature flag support for placement rules [2] (#29258) 2021-11-01 10:34:51 +08:00
c817f9e5f4 executor, privilege: fix privilege validation on information_shema.columns, explain and desc (#28985) 2021-10-30 04:08:50 +08:00
21a4a7e441 br: Add hdfs backend support (#28718) 2021-10-27 17:54:49 +08:00
f46359484c brie: Fix handling of scheme when SEM is enabled (#29037) 2021-10-25 21:24:49 +08:00
0e38904a33 server, privilege: Socket authentication (#27561) 2021-10-19 23:44:43 +08:00
81c3013f25 *: Implementing information_schema.placement_rules (#27478) 2021-10-15 08:49:26 +08:00
fac98dc866 privileges: fix show create view doesn't need show view privilege (#28662) 2021-10-14 23:49:26 +08:00
7700bd2fd5 parser: add "second syntax" for REVOKE (#28738) 2021-10-14 12:03:27 +08:00
c1ec51e049 privilege: add Event and Routine privilege on db level (#28690) 2021-10-13 14:07:27 +08:00
6553404bb2 *: fix regression from FLUSH PRIVILEGES fix (#28736) 2021-10-13 11:19:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
375e166d60 privilege: add Create Temporary Tables privilege on db level (#28547) 2021-10-06 23:16:50 +08:00
xhe
2a02e6e41d placement: refine the bundle contruction logic (#28450) 2021-10-02 08:36:48 +08:00
d8186517a1 privilege: add select privileges check on performance_schema (#27871) 2021-09-10 10:46:38 +08:00
a7cba16084 privileges: fix case sensitive compare of dbname when grant in table level (#27738) 2021-09-08 13:48:57 +08:00
9f6ee163b3 privileges: make the result of SHOW GRANTS deterministic (#27703) 2021-09-02 17:14:16 +08:00
8fd619359e *: Support PLACEMENT_ADMIN dynamic priv (#27600) 2021-08-31 17:08:13 +08:00
fa52d566d5 privileges: require process privilege to access metrics_schema (#27554) 2021-08-31 13:34:12 +08:00
f2347226db executor, privilege: fix show grants for current_user() using x (#27593) 2021-08-28 15:22:05 +08:00
5fcfd890a4 privileges: add DASHBOARD_CLIENT dynamic privilege (#27591) 2021-08-27 16:26:05 +08:00
fbc5f94f8b privilege: add LOCK TABLES privilege on db level (#27489) 2021-08-26 10:08:04 +08:00
684057f484 privilege: fix show grants output for active roles + dynamic privs (#27218) 2021-08-25 03:04:03 +08:00
74fd4f1921 privileges: Fix panic when using skip-grant-table (#27558) 2021-08-25 00:10:04 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
d7f17a0040 privilege: Add REFERENCES privilege on db/schema and table level. (#27121) 2021-08-12 16:53:16 +08:00
ran
fa91e15946 privilege/privileges: migrate test-infra to testify (#26991) 2021-08-10 13:31:15 +08:00
ac670dd033 executor, privilege: fix show grants (#26680) 2021-08-05 11:49:13 +08:00
3948b73c23 privilege/privileges: remove read clustered table in SEM test (#26625) 2021-07-28 09:32:16 +08:00
84887df9aa privileges: use UPPER case for privileges in SHOW GRANT (#26360) 2021-07-20 13:31:34 +08:00
723e2bc6d8 executor, privileges: fix infoschema.user_privileges privilege requirements (#26070) 2021-07-16 19:53:33 +08:00
4f26765194 privilege: add restricted read only (#25340) 2021-07-16 12:09:33 +08:00
946b3841e7 executor, privilege: require CONFIG or Process privilege for is.cluster_* (#26220) 2021-07-16 09:19:33 +08:00
13bad8579f executor, privilege: require CONFIG privilege for is.cluster_config (#26071) 2021-07-12 18:57:32 +08:00
cffaa8c4fa privilege: update out-of-date comment (#25946) 2021-07-06 20:33:29 +08:00
f23e1004ac *: Support for caching_sha2_password authentication (#24991) 2021-07-05 11:15:28 +08:00
57792c3d11 *: Fix ALTER USER privilege requirements (#25461)
* executor, planner: Allow ALTER USER to work on current user


Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2021-06-17 13:47:53 +08:00
b52a38981c *: change SHOW CONFIG to require CONFIG privilege (#25379) 2021-06-15 16:56:36 +08:00
b51a9ca71c *: fix sem dynamic privilege permission issues (#25316) 2021-06-15 12:28:37 +08:00
faf139eae1 executor: Fix losing the auth string on changing SSL/TLS requirements (#25268) 2021-06-10 23:22:29 +08:00
9de1753866 *: fix permissions of brie RESTORE to be RESTORE_ADMIN (#25039) 2021-06-08 10:44:28 +08:00
7f4f5c0236 *: Change dynamic privileges to non-experimental (#24914) 2021-05-28 23:29:36 +08:00
c287bcb48c executor: Add plugin column to mysql.user (#24894) 2021-05-28 16:33:36 +08:00