We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Allow only admin to activate SSL support
-
- Posts: 1
- Joined: Sat Feb 24, 2018 6:43 pm
- Os: Debian 8x
- Web: apache + nginx
Allow only admin to activate SSL support
Hello,
I am using WHMCS for my clients and I have an option when checking out, to activate SSL Support.
I am using automatic configuration to setup their service. I am going to research later if I can mess with the Vesta.php script in order to automatically setup SSL support for me.
My main concern is, I don't want a client to be able to login to their VestaCP control panel and mess with SSL options. Is there a way to disable this for non-admins, and only allow it for an admin?
Thanks!
I am using WHMCS for my clients and I have an option when checking out, to activate SSL Support.
I am using automatic configuration to setup their service. I am going to research later if I can mess with the Vesta.php script in order to automatically setup SSL support for me.
My main concern is, I don't want a client to be able to login to their VestaCP control panel and mess with SSL options. Is there a way to disable this for non-admins, and only allow it for an admin?
Thanks!
Re: Allow only admin to activate SSL support
Make changes in user template give you what you want:
/usr/local/vesta/web/templates/user/edit_web.html
and search block with this code:
or search for "ssl"
/usr/local/vesta/web/templates/user/edit_web.html
and search block with this code:
Code: Select all
<label><input type="checkbox" size="20" class="vst-checkbox" name="v_ssl" <?php if ($v_ssl == 'yes')