Details
-
Bug
-
Status: In Progress (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
Notable changes
-
Q2/2026 Server Maintenance
Description
Precise user management requires fine privilege separation. Now DROP PARTITION requires both ALTER and DROP which allows users that do DROP PARTITION to do also any other DDL changes.
TRUNCATE PARTITION requires only DROP privilege and that makes sense. Users allowed to drop the table also should be allowed to drop the data by parts, either by the partition or by the data inside the partition.
Now DROP PARTITION should be allowed only be DROP privilege. The same with CONVERT OUT as it drops partition and creates a table, it must not require ALTER privilege.
Attachments
Issue Links
- relates to
-
MDEV-37948 ALTER TABLE ... TRUNCATE PARTITION does not check for ALTER privilege
-
- Closed
-