[MDEV-9688] Drop privilege to tables only, Not to database Created: 2016-03-04  Updated: 2018-11-26

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Major
Reporter: Murat Celep Assignee: Unassigned
Resolution: Unresolved Votes: 2
Labels: None


 Description   

As a db admin, I would like to control the 'drop table' vs 'drop database' privileges separately.
I would like to make sure that a user can drop the tables/views but not the databases.
In a scenario where the privileges are granted right after a database is created and the tables are not known yet, the user can't be blocked from dropping a database.

GRANT DROP ON somedb.* TO 'jeffrey'@'localhost';
simply grants all drop commands including 'drop database'. I would like to have a version of this command which would allow to manage 'drop database'/'drop table' privileges separately.


Generated at Thu Feb 08 07:36:34 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.