Fix cli mode of edit-db-privs
#71
Labels
No Label
art
big
blocked
bug
ci-cd
crash report
disputed
documentation
duplicate
feature request
good first issue
packaging
question
security
techdebt spring cleaning
testing
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Projects/mysqladm-rs#71
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
In the current implementation of
edit-db-privs
with the-p
flag, the user would need to provide all privileges for all users on all databases. The intended effect is to modify the privileges which have matching users and databases, as well as add any new db-user pairs, but the resulting diff would remove any existing privileges that the user forgot to include in their-p
flags.However, if we make it so that the
-p
flag only modifies/adds new stuff, it would make it impossible to remove privileges. Maybe we should think of something new?