Review authorization

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

Review authorization

Post by GülsümAkça » 30 Jun 2021, 07:18

Hello,
Only superadmin has the authority to enable the status of the comment on the product. My first question is
How can I authorize the admin or editor to change the status of the review?
My second question is;
If the admin or editor writes a response in the comment and clicks the save button
https://myurl.../admin/default/jqadm/sa ... 23&lang=en
redirects to this link and a blank screen appears, how can I prevent this?

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

Re: Review authorization

Post by aimeos » 01 Jul 2021, 06:14

GülsümAkça wrote: 30 Jun 2021, 07:18 Only superadmin has the authority to enable the status of the comment on the product. My first question is
How can I authorize the admin or editor to change the status of the review?
Admins are able to change the review status too. You would have to overwrite these lines in you own extension:
- https://github.com/aimeos/ai-admin-jqad ... d.php#L101
- https://github.com/aimeos/ai-admin-jqad ... d.php#L340
GülsümAkça wrote: 30 Jun 2021, 07:18 If the admin or editor writes a response in the comment and clicks the save button
https://myurl.../admin/default/jqadm/sa ... 23&lang=en
redirects to this link and a blank screen appears, how can I prevent this?
The page is OK to store the data but it should redirect to the same URL afterwards to show the review again, i.e.:
https://myurl.../admin/default/jqadm/ge ... 23&lang=en
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply