Page 1 of 1

pageRebuildFields without admin rights

Posted: 2022-05-17 20:13
by SkayyHH
Hi, please, does anyone know what i need to change in admin/pageRebuildFields.php file so a user can run it without admin rights?

Thanks much!

Re: pageRebuildFields without admin rights

Posted: 2022-05-19 06:00
by SkayyHH
For those who also need this:

You can write in __global.php:

Code: Select all

Authentication::signInAsAdmin();
So that all users log in as admin.