User Groups

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3/Flow, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
User avatar
Metalics
Posts: 65
Joined: 13 Jul 2015, 23:59

User Groups

Post by Metalics » 26 Jul 2019, 01:45

Hello,
When you execute the update script in Extension Manager,
1- Aimeos creates two user groups in every execution (Is this default behaviour? Maybe it shouldn't create same user groups after first execution).
2- It creates these groups under the page uid:0, not under the folder we are using to manage user groups/users.
Is this a problem related to "plugin.tx_aimeos.settings.mshop.customer.manager.typo3.pid-default = sysfolder-uid" configuration? or something has been changed with Aimeos V19.7.x to manage this behaviour?

Aimeos: V19.7.1
Typo3: V9.5.8

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

Re: User Groups

Post by aimeos » 26 Jul 2019, 20:50

Metalics wrote:
26 Jul 2019, 01:45
When you execute the update script in Extension Manager,
1- Aimeos creates two user groups in every execution (Is this default behaviour? Maybe it shouldn't create same user groups after first execution).
This will be fixed in the next version. TYPO3 doesn't have a unique key for that table to groups have been added several times.
Metalics wrote:
26 Jul 2019, 01:45
2- It creates these groups under the page uid:0, not under the folder we are using to manage user groups/users.
Is this a problem related to "plugin.tx_aimeos.settings.mshop.customer.manager.typo3.pid-default = sysfolder-uid" configuration? or something has been changed with Aimeos V19.7.x to manage this behaviour?
The customer and customer group manager use the "pid-default" value but if you set it in the TypoScript for the frontend, it won't be available when running the setup. The only way is to set it in a PHP config file. Another problem is that the groups are created in the wrong table. "editor" and "admin" are backend groups but Aimeos and the Aimeos TYPO3 adapter are not aware of that difference. So even if you set the PID for the setup task, the groups aren't created correctly.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply