Hi Craig,
I wonder if you could help.
I successfully installed M2.4.1 following the tutorial
I had a few small issues but they were due to a lack of apostrophes and composer v2. Mag 2.4 doesn’t support it.
After I installed Mag. I received an email to set up 2FA with google authenticator.
Next, I installed a second Magento on the same server and parked it on 2 domain names for my store views. blabblabla.co.uk for English and blablabla.fr for the French store view. This is very easy. Thanks to this tutorial.
It was all too easy. I got to steps now. I’m trying to set up some additional users with custom permissions. I created them at the Mag. admin panel but can’t use them. The following message is shown.
“Sorry, you need permissions to view this content.
Next steps
If you think this is an error, try signing out and signing in again.
Contact a system administrator or store owner to gain permissions.”
I did research if it is a common issue and found this.
I added 2FA permission for the additional users but it didn’t help.
Then I decided to go around and try to create a second user with all administrator permissions and once created and active change his role to my custom permission roles.
I created the user via CLI
bin/magento admin:user:create
The new admin user has been created I see it in the Mag. admin panel but I can’t use it because I need to receive an email to set 2FA but I don’t get the email.
This ‘Postfix - a mail transfer agent’ which you recommended to install to be able to got through 2FA install process won’t handle email for my additional users?
I hope all it makes sense.
Can you please give me a tip on how to bit it?
Thank you in advance.
Pawel
My environment: M2.4.1, hosting ovh - dedicated server, php 7.4, MySQL 8.0, ElasticSearch 7.6, 3 websites on one server (I don’t think that it will affect my emails all are enabled in /etc/apache2/sites-available/)