Develop admin privileges

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
GülsümAkça
Posts: 57
Joined: 20 Nov 2020, 13:30

Develop admin privileges

Post by GülsümAkça » 20 Mar 2021, 19:47

Hello!
We want the administrator to be able to view the list of user accounts (admins) and to view, create, enable, disable and edit the other user account.
Can you help me?
Thank you ,

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

Re: Develop admin privileges

Post by aimeos » 22 Mar 2021, 14:06

This is only possible for superuser accounts. Admins can't create new admin accounts for security reasons, only editor accounts.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
GülsümAkça
Posts: 57
Joined: 20 Nov 2020, 13:30

Re: Develop admin privileges

Post by GülsümAkça » 19 Aug 2021, 12:08

Sorry for the late response

"This is only possible for superuser accounts. Admins can't create new admin accounts for security reasons, only editor accounts."

I made a few test scenarios based on your sentence.

Scenario 1:
Can Superuser create admin accounts and editor accounts?
Result 1:
Yes, Superuser can create admin accounts and editor accounts.

Scenario 2:
Can admin account change superuser account privileges and make superuser account editor account?
I am logged into the admin panel as an admin. I made the superuser account editor account and clicked the save button.
The message "Item saved succesfully" appeared.
Then I logged into the admin panel as a superuser.
There was no change in my privileges, I was still superuser.

images:
https://prnt.sc/1qbnhhi
(gulsum@swordbros.ru account has superuser privilege)

Result 2:
The problem here is that the admin cant change the superuser's privileges, but the message "Item saved succesfully" is displayed.

Scenario 3:
Can the admin create a new admin account?
I logged into the admin panel as admin. I made a non-authorized user (test002aimeos@mailinator.com) admin and the message "Item saved succesfully" appeared. Then I logged into the admin panel as a admin with test002aimeos@mailinator.com account.

images:
non-authorized user (test002aimeos@mailinator.com)
https://prnt.sc/1qbni50

Result 3:
Admins can create a new admin account.

aimeos laravel 2020.10.8 version

Post Reply