Bug #1191 | Column privileges not respected | ||
---|---|---|---|
Submitted: | 4 Sep 2003 2:54 | Modified: | 11 Nov 2003 9:15 |
Reporter: | Patrick Allaert | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 4.0.12-max-nt-log | OS: | Windows (Windows 2000) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[4 Sep 2003 2:54]
Patrick Allaert
[11 Oct 2003 9:15]
MySQL Verification Team
I tested your case with 4.0.15 release and didn't find the behavior for you reported (see below). Please do the test with this server and let me know if is already fixed for to close this bug report. mysql> create table users (id int auto_increment not null primary key, -> user_name char(45), priv_phone char(20)); Query OK, 0 rows affected (0.02 sec) mysql> insert into users (user_name,priv_phone) values ("George","2342-6233"); Query OK, 1 row affected (0.01 sec) mysql> grant select (id,user_name) on bug1191.users -> to "gpw"@"localhost" identified by "me"; Query OK, 0 rows affected (0.01 sec) e:\servers\mysql-4.0.15\bin>mysql -ugpw -p Enter password: ** Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 3 to server version: 4.0.15-max-nt Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use bug1191; Database changed mysql> select id, user_name from users; +----+-----------+ | id | user_name | +----+-----------+ | 1 | George | +----+-----------+ 1 row in set (0.00 sec) mysql> select priv_phone from users limit 1; ERROR 1143: SELECT command denied to user: 'gpw@localhost' for column 'priv_phon e' in table 'users' mysql> select * from users limit 1; ERROR 1143: select command denied to user: 'gpw@localhost' for column 'priv_phon e' in table 'users'
[14 Feb 2005 22:54]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".