Sometimes you see the following error on the admin login page:
“You need more permission to access this”,
The fastest solution to resolve this issue is to create a new “admin” user and reset the previous user’s permissions.
You can do it with the command line. Go to your Magento’s root directory and type:
php bin/magento admin:user:create --admin-user='adminuser' --admin-password='adminuser@123' --admin-email='adminuser@domain.com' --admin-firstname='Admin' --admin-lastname='User'
Through this command, it will create a new admin user with username “adminuser” and password “adminuser@123”. Then you need to login with this user and reset the previous user’s permissions.

