When opening the page current user doesn't have permissions to, after login with appropriate user he should be redirected to original requested page, but he is redirected to Dashbord instead.
In version 2.2 it works correctly, but from version 3.0 and up, it is not working.
1. Logout from current user
2. Open page, you don't have permissions to
For example: /users.php
3. Select Login
4. Login with appropriate user (in this example - super admin)