Is it possible to allow a user to only drop tables and views that he/she created in MySQL? How is this achieved?
-
Did you in fact observe that a non-root user could drop tables and views created by other users?– mustaccioCommented Jan 20, 2021 at 18:03
-
No. I haven't tried dropping tables / views I didn't create. If I have drop privileges but I am not a root user, does this mean I can only drop tables I create?– Giovanni ColittiCommented Jan 20, 2021 at 18:09
Add a comment
|
1 Answer
I'd create a dedicated MySQL instance per user (with docker for example) and let them do whatever they want. Your situation maybe different, of course, I'm just sharing an idea.