Nonexisting users may be given privileges #12

Closed
opened 2024-07-12 23:51:58 +02:00 by felixalb · 0 comments
Owner

The permission editor does not verify that a user actually exists in the dbms before giving privileges. No error or warning is given to the user, and the new privilege does not show up in show-db-perm or show-user, but crashes with a (23000): Duplicate entry if you try to add privileges to the same "user" again.

TLDR; Scary quasi-users may occur

The permission editor does not verify that a user actually exists in the dbms before giving privileges. No error or warning is given to the user, and the new privilege does not show up in `show-db-perm` or `show-user`, but crashes with a `(23000): Duplicate entry` if you try to add privileges to the same "user" again. TLDR; Scary quasi-users may occur
oysteikt changed title from Non-existant users may be given privileges to Nonexisting users may be given privileges 2024-07-16 12:20:41 +02:00
oysteikt added the
bug
label 2024-07-28 15:25:13 +02:00
oysteikt added the
good first issue
label 2024-08-04 14:32:15 +02:00
oysteikt added this to the Initial release milestone 2024-08-06 02:04:02 +02:00
Sign in to join this conversation.
No description provided.