v.23.4New Feature
Allow Creating Users with Current User's Grants Using GRANT CURRENT GRANTS
Allow to easily create a user with the same grants as the current user by using GRANT CURRENT GRANTS. #48262 (pufit).Why it matters
This feature simplifies the process of duplicating user privileges by allowing administrators to quickly grant all the current user's privileges to another user without manually specifying each grant, saving time and reducing errors.How to use it
Use the commandGRANT CURRENT GRANTS TO <new_user> to grant the new user the exact same permissions as the current user.