Page 1 of 1
Updating a templete for all users using the template
Posted: Fri 9. Aug 2024, 23:04
by gacott
We made a template and have a number of users assigned to that template. Then we found we needed to make a change to the template. Is there a way to push those changes to all existing users? I thought I saw this, but I can't find it now.
Thanks
Re: Updating a templete for all users using the template
Posted: Mon 12. Aug 2024, 09:55
by Alexander
Hello,
this is not possible using the user interface. It is possible using the API.
What do you want to change? You may also be able to use the database directly - but this depends on what you want to change.
Re: Updating a templete for all users using the template
Posted: Mon 12. Aug 2024, 12:33
by gacott
Alexander wrote: ↑Mon 12. Aug 2024, 09:55
Hello,
this is not possible using the user interface. It is possible using the API.
What do you want to change? You may also be able to use the database directly - but this depends on what you want to change.
I need to change a number of the PHP settings
Re: Updating a templete for all users using the template [SOLVED]
Posted: Mon 12. Aug 2024, 12:45
by Alexander
ATTENTION: Modifying data directly in the database can lead to problems if not done carefully.
1) Execute the desired SQL query on the relevant fields in the KeyHelp database - table `php_settings`.
2) Then call the CLI command "keyhelp-toolbox" and select this menu item "Rewrite user configuration files (Apache, Bind9, PHP-FPM)".