Commit Graph

23 Commits

Author SHA1 Message Date
aabd330d1e *: support "show create user" (#9240) 2019-02-21 13:58:19 +08:00
4ad4684da1 privilege,planner: handle View's security privilege check (#9194) 2019-02-12 10:35:18 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
19e4e2fa9f expression: MySQL compatible current_user function (#7801) 2018-10-16 13:53:07 +08:00
bab4993902 *: check privilege for 'show create table' and infoschema tables (#6426)
1. 'show create table xxx' require privilege for the table
2. 'select * from information_schema.tables' should only returns data visible to user
2018-05-02 21:05:13 -05:00
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
a88ebb1cf6 *: use structure to store user identity (#4078)
*: use structure to store user identity
2017-08-14 03:37:36 -05:00
04f9318525 privilege:correct comments mistake (#3250) 2017-05-12 17:46:20 +08:00
eba4e7138b privilege: clean up some old code (#3005) 2017-04-06 22:43:46 +08:00
b9deb5e7aa privilege: rename interface name from Checker to Manager (#2969) 2017-03-31 10:55:38 +08:00
3c494b7df1 *: add INFORMATION_SCHEMA.USER_PRIVILEGES table (#2963) 2017-03-30 17:10:14 +08:00
60ba388e0c *: check visibility for show databases and tables (#2934) 2017-03-28 11:28:50 +08:00
281e8553b4 tidb,privilege: use new privilege implementation for connection verification (#2607) 2017-02-09 18:08:37 +08:00
cb1c2f0ff9 *: update privilege Checker interface and use it (#2557) 2017-02-06 11:28:06 +08:00
7309adf048 *: Add test case for show grants plan and fix a few bugs 2015-10-28 16:52:58 +08:00
0d1abd5f0b *: Implement ShowGrants for UserPrivileges and add some test cases 2015-10-28 13:27:49 +08:00
09b66390cf *: Support show grants syntax and add ShowGrant interface to UserPrivileges 2015-10-27 22:01:07 +08:00
9df627b816 privilege: Address comment 2015-10-23 16:38:21 +08:00
35f2e98449 *: Refactor privileges
Address comments
2015-10-22 11:31:35 +08:00
138497aaf5 *: Add privilege checker and unit tests. 2015-10-20 16:46:58 +08:00
fd9bcc6f98 privilege: backup 2015-10-20 08:42:36 +08:00
aab178446e privilege: Add privilege checker interface 2015-10-19 22:25:04 +08:00