Show only users from correct usergroup

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Show only users from correct usergroup

Post by promptnet » 10 Jun 2020, 06:26

Hi,
I'd like to have only shown users assigned to a certain usergroup in the Aimeos backend/dashboard. Now, if I go to "Customers" in Aimeos backend, all users from very different groups are shown.
How can I do that?
Thanks,
Kurt

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

Re: Show only users from correct usergroup

Post by aimeos » 11 Jun 2020, 11:01

The Aimeos backend reads the data from the fe_users table and that contains no limitation for user groups by default. You would have to extend the customer panel class and implement the additional restriction:
https://github.com/aimeos/ai-admin-jqad ... andard.php
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

promptnet
Posts: 61
Joined: 24 Jul 2019, 12:22

Re: Show only users from correct usergroup

Post by promptnet » 11 Jun 2020, 11:44

And what do I have to change? Something in getGroupItems() ?
But, it seems, that this method is not called in backend...
Please provide some additional information. thanks.

Post Reply