set admin role for specific user in a specific shop

Questions around the Aimeos bundle for the Symfony framework
Forum rules
Always add your Symfony, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
MSchrading
Posts: 19
Joined: 14 Aug 2019, 08:13

set admin role for specific user in a specific shop

Post by MSchrading » 24 Jan 2020, 10:46

I have a default shop with two shops below. As superadmin I add a user in one of this shops below (below default). Now I tried to set this user the role admin, in a shell with ./bin/console aimeos:account --admin admin@email.com <site code> but I get this: Locale item for site "sitename" not found. What this mean site-code?

regards

User avatar
aimeos
Administrator
Posts: 8356
Joined: 01 Jan 1970, 00:00

Re: set admin role for specific user in a specific shop

Post by aimeos » 27 Jan 2020, 10:06

It's the value of the "Code" field in the Locale -> Site panel, e.g. "default"
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply