Commit Graph

230 Commits

Author SHA1 Message Date
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
4000975ad1 privileges: improve dynamic privs registration and tests (#24773) 2021-05-20 22:56:21 +08:00
15dfd7bdd3 *: Implementing RENAME USER (#24413) 2021-05-20 00:09:41 +08:00
8ad868f801 *: Add security enhanced mode part 3 (#24412) 2021-05-17 12:45:38 +08:00
f2cb145af2 planner, privilege: Add security enhanced mode part 4 (#24416) 2021-05-17 11:25:39 +08:00
d9f28c7f76 executor, privileges: Add dynamic privileges to SHOW PRIVILEGES (#24646) 2021-05-14 16:07:39 +08:00
e40f8c0881 *: fix revoke statement for CURRENT_USER() and refine error message (#24052)
* *: fix revoke statement for CURRENT_USER() and refine error message
2021-05-12 16:40:58 +08:00
b8cad01bef privilege: fix RequestVerificationWithUser use of default roles (#24442) 2021-05-10 22:08:42 +08:00
c5ca2ea7f9 *: add security enhanced mode part 2 (#24279) 2021-04-30 00:31:57 +08:00
4072172c05 *: add security enhanced mode part 1 (#23978) 2021-04-15 09:51:51 +08:00
2f877e8030 planner,privilege: requires extra privileges for REPLACE and INSERT ON DUPLICATE statements (#23911) 2021-04-10 00:18:33 +08:00
503841f5cd planner, privileges: do not require SELECT for unqualified DELETE (#23647) 2021-04-02 07:35:24 +08:00
90d02b2eed *: add support for dynamic privileges (#22778) 2021-04-01 00:17:24 +08:00
2a909bf2f1 Privileges: fix delete privilege check wrongly (#22971) 2021-03-09 19:26:55 +08:00
24b267d740 plugin, privilege: fix err check (#22998) 2021-03-03 21:32:54 +08:00
17eca20f18 executor, privilege: fix failure on grant USAGE privilege operation (#22748) 2021-03-02 22:30:54 +08:00
26086b297c privilege: remove any string concat (#22523) 2021-02-03 13:11:28 +08:00
34b4e9a033 planner, privilege: check for table not exists (#21776) 2020-12-23 17:40:37 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
42590965ed *: refactor CompilePattern and DoMatch used by like (#20610) 2020-11-04 13:25:52 +08:00