Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does phpmyadmin support lock/unlock db user feature on web? #14276

Closed
thaygiaoth opened this issue May 10, 2018 · 2 comments · Fixed by #17083
Closed

Does phpmyadmin support lock/unlock db user feature on web? #14276

thaygiaoth opened this issue May 10, 2018 · 2 comments · Fixed by #17083
Assignees
Labels
enhancement A feature request for improving phpMyAdmin has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Milestone

Comments

@thaygiaoth
Copy link

Steps to reproduce

  1. I using phpmyadmin 4.8.0.1 latest but I can not find out lock/unlock user on phpmyadmin?
  2. Does phpmyadmin support lock/unlock db user feature on web?

Expected behaviour

There are lock/unlock buttons for every db user (except root) on phpmyadmin
As of version 5.7.6, MySQL supports locking and unlocking user accounts
https://dev.mysql.com/doc/refman/5.7/en/account-locking.html

@ibennetch ibennetch added the enhancement A feature request for improving phpMyAdmin label May 10, 2018
@ibennetch
Copy link
Member

You're correct that this is not supported, but seems like a pretty straightforward project to add a toggle to the User accounts area.

I think a robust solution would verify the existence of the account_locked column in the mysql.user table when attempting to make a change, and perhaps also if this column is missing the display would show all users enabled but greyed out.

@thaygiaoth
Copy link
Author

thaygiaoth commented Jan 21, 2019

Updates for MariaDB 10.4.1

mysql.user table is retired. User accounts and global privileges are now stored in the mysql.global_priv table (MDEV-17658)

https://mariadb.com/kb/en/library/mariadb-1041-release-notes/

@williamdes williamdes added this to Triage zone in Enhancements Jan 23, 2020
@MauricioFauth MauricioFauth moved this from Triage zone to Interface in Enhancements Aug 15, 2021
Enhancements automation moved this from Interface to Done Aug 21, 2021
@MauricioFauth MauricioFauth self-assigned this Aug 21, 2021
@williamdes williamdes added this to the 5.2.0 milestone Aug 21, 2021
@williamdes williamdes added the has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete label Aug 21, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement A feature request for improving phpMyAdmin has-pr An issue that has a pull request pending that may fix this issue. The pull request may be incomplete
Projects
Enhancements
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants