Bug #9036 | Table creation should include automatic table use privileges | ||
---|---|---|---|
Submitted: | 8 Mar 2005 1:12 | Modified: | 14 Mar 2005 19:52 |
Reporter: | Trudy Pelzer | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 5.0.3-alpha-debug | OS: | Linux (SuSE 9.1) |
Assigned to: | Jim Winstead | CPU Architecture: | Any |
[8 Mar 2005 1:12]
Trudy Pelzer
[10 Mar 2005 2:03]
Jim Winstead
This is, in principle, fairly easy to do. When we create a table, just check if we have all permissions (TABLE_ACLS & ~GRANT_ACL) on the table after it has been created. If not, have ourselves granted privileges for it. In practice, it isn't that easy. The functions that handle updating the grant tables are quite tied to the structures that come along with an actual GRANT statement.
[7 Apr 2005 18:00]
Trudy Pelzer
This feature request has been written up as WL#2531.