Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Login WordPress Dashboard › Reply To: Login WordPress Dashboard
Upcoming (in a couple of days I hope) 4.23.3 bug fix release will not contain this feature yet. I will include it the the 4.24.
I will include these code snippets to the Pro version 4.24 as the options (inactive by default). So you will can safely install plugin update, remove your own copy of code from functions.php and then turn on the correspondent option at the User Role Editor Settings.