Bug #64532 | columns_priv record not clear or modify when table defination changed | ||
---|---|---|---|
Submitted: | 3 Mar 2012 9:42 | Modified: | 3 Mar 2012 10:44 |
Reporter: | lou shuai (OCA) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Security: Privileges | Severity: | S2 (Serious) |
Version: | 5.5.20 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | columns_priv, table defination |
[3 Mar 2012 9:42]
lou shuai
[3 Mar 2012 10:44]
Valeriy Kravchuk
This is easy to verify and even somewhat documented (for table rename case). See http://dev.mysql.com/doc/refman/5.5/en/alter-table.html: "Any privileges granted specifically for the renamed table are not migrated to the new name. They must be changed manually." But if the same is true (and by design) for renaming columns, then we have a valid documentation request here (in addition to valid FR to modify privileges properly).