[MDEV-15172] SELECT command denied for user when selecting from CTE Created: 2018-02-01 Updated: 2018-04-02 Resolved: 2018-04-02 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Authentication and Privilege System |
| Affects Version/s: | 10.2.9 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Darias G Brown | Assignee: | Unassigned |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | cte, need_feedback, permissions | ||
| Environment: |
Red Hat Enterprise Linux Server 7.4 |
||
| Description |
|
Executing the following simple CTE query: with d as gives the following error: SQL Error (1142): SELECT command denied user '<user_name>' for table 'd' Per |
| Comments |
| Comment by Darias G Brown [ 2018-02-01 ] |
|
ROLE_ASSOC is a view and the user has SELECT permissions on the view. |
| Comment by Elena Stepanova [ 2018-02-01 ] |
|
As |
| Comment by Elena Stepanova [ 2018-03-03 ] |
|
dariasbrown, has upgrade helped? |