Bug #21725 | Assigning privileges to columns does not work | ||
---|---|---|---|
Submitted: | 18 Aug 2006 17:10 | Modified: | 19 Oct 2006 14:14 |
Reporter: | Jasper Knockaert | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Administrator | Severity: | S3 (Non-critical) |
Version: | 1.1.11 | OS: | MacOS (Mac OS X 10.4.7 (Intel)) |
Assigned to: | Vladimir Kolesnikov | CPU Architecture: | Any |
Tags: | object privileges |
[18 Aug 2006 17:10]
Jasper Knockaert
[7 Sep 2006 13:39]
Vladimir Kolesnikov
Hi, The problem is that the privileges corresponding to values of table_privs.column_priv where simply missing in GUI. The privileges that you changed are actually those from column_privs table and they are changed correctly. The missing privileges will be added to GUI.
[7 Sep 2006 20:13]
Jasper Knockaert
The information contained in tables_priv.column_priv is somehow related to what is in columns_priv. It seems pointless to me not to update tables_priv.column_priv when changing columns_priv (unless the corresponding privilege was already assigned to another column of the same table), such an action would result in tables_priv.column_priv to be inconsistent with the information contained by columns_priv. Is there a reason not to update tables_priv.column_priv automatically to reflect changes to columns_priv? Furthermore, I came accross an issue where the GUI didn't allow me to assign privileges to views, but maybe I should report this in a separate bug report.
[19 Oct 2006 14:13]
Vladimir Kolesnikov
Hi Jasper, The reason not to update tables_priv when you update columns_priv is that tables_priv keep general lock for column-wise privs, while columns_priv control individual privileges. Implementing a kind of auto-action in the MySQL Administrator would introduce a limitation to the corresponding server functoinality. About view privs - yes please file a separate report. Thanks, Vlad
[19 Oct 2006 14:14]
Vladimir Kolesnikov
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at http://dev.mysql.com/doc/en/installing-source.html