Page 1 of 1

No backend template in gui for users

Posted: Sat May 11, 2019 6:58 pm
by peshte
On my server, I've created a template for laravel apps, but I've noticed that for regular users, the "web template" section is not visible
When I log in from admin account to the user account, I can see that section and it works.

I've dug in the VestaCP's code and saw that the HTML template for the users doesn't have the code for that part, and in PHP is hardcoded that only admin user can save that:

Is there a reason for that?

Re: No backend template in gui for users

Posted: Thu Jun 20, 2019 12:11 pm
by skamasle
Not remember why is configured in that way, but in gitgub you can find a discus about this, also there are some fix, you copy part of code of admin template in users template should work

I think this if for some security reason, if user can change they template, they may can assing one wit out security (open base dir )