Page 1 of 1

User Groups

Posted: 26 Jul 2019, 01:45
by Metalics
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

Re: User Groups

Posted: 26 Jul 2019, 20:50
by aimeos
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.