Not allowed to add option under "Products/Options"

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

Not allowed to add option under "Products/Options"

Post by promptnet » 23 Nov 2020, 16:33

Hi,
logged in with a user with limited rights (editor), I cannot add options in "Product" > "Options". It is possible to select a value in "Configurable" or "Custom" section, but it is not possible to select something under "Type". And, if I write "text" in "Type" the value disappears on blur.
What configuration do I have to set to change that behaviour?
Cheers, Kurt
options.png
options.png (18.96 KiB) Viewed 1647 times

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

Re: Not allowed to add option under "Products/Options"

Post by aimeos » 24 Nov 2020, 13:49

Which Aimeos version do you use?
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: Not allowed to add option under "Products/Options"

Post by promptnet » 24 Nov 2020, 15:28

Aimeos: 20.10.3-pre2
TYPO3: 9.5.23

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

Re: Not allowed to add option under "Products/Options"

Post by aimeos » 25 Nov 2020, 12:17

The problem was that editors were not allowed to use the JSON admin API endpoint for fetching the attribute types. This is fixed now using this commit:
https://github.com/aimeos/ai-admin-json ... 695ce1ecb4

You can install the bugfix using:

Code: Select all

composer req aimeos/ai-admin-jsonadm:2020.10.x-dev
You can also change the configuration yourself for the backend. In that case, only the groups for "attribute/type" are relevant.
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: Not allowed to add option under "Products/Options"

Post by promptnet » 25 Nov 2020, 19:55

Many thanks!
I did it the other way round: instead of having the group "editor" I assigned a group with name "super". Now it works perfectly.

Post Reply