Hestiacp: Feature: allow users to select template

Created on 28 Apr 2020  路  4Comments  路  Source: hestiacp/hestiacp

In packages we should be able to multiple select templates. When this occurs, users have the choice between those.

A few examples:

  • I want to allow my users to create DNS domains using templates for parking domains for Google and Office365, but also using the default template
  • I want my users to be able to select the PHP version per www site
feature interface web

Most helpful comment

But, is admin responsability do good templates, of course all templates you have in productions will be tested, users cand add new templates

If you want add a test to verification, you will need add some functions to revert template if this inst working because if you just test is good or not, and not revert a faulty template when server restart any orther day all will fail

All 4 comments

Hi @loxK

Thanks for your feature request! In the current stack, a user could break the whole nginx server if he would set a faulty template. We currently discuss this internaly in combination with #450 to enable this feature also for normal users.

Why user will breake something ?

Only admin can add templates, so if all templates work well, user can sellect they and nothing bad will happen when user will change template

It always can happen, that you have a faulty template - even when you create them on your own (also happened to me :-) ).

We'll add a config validation and also rework the way how the config gets loaded (reload instead restart).

But, is admin responsability do good templates, of course all templates you have in productions will be tested, users cand add new templates

If you want add a test to verification, you will need add some functions to revert template if this inst working because if you just test is good or not, and not revert a faulty template when server restart any orther day all will fail

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ioannidesalex picture ioannidesalex  路  4Comments

liamdemafelix picture liamdemafelix  路  5Comments

johnnyq picture johnnyq  路  5Comments

vvcares picture vvcares  路  4Comments

4183r picture 4183r  路  5Comments