Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Vesta Web Interface
  • Search

Allow only admin to activate SSL support

Questions regarding the Web Interface
GUI
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Sack_of_Potatoes
Posts: 1
Joined: Sat Feb 24, 2018 6:43 pm

Os: Debian 8x
Web: apache + nginx
Allow only admin to activate SSL support
  • Quote

Post by Sack_of_Potatoes » Sat Feb 24, 2018 6:47 pm

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!
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Allow only admin to activate SSL support
  • Quote

Post by skurudo » Wed Feb 28, 2018 10:27 am

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:

Code: Select all

 <label><input type="checkbox" size="20" class="vst-checkbox" name="v_ssl" <?php if ($v_ssl == 'yes') 
or search for "ssl"
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Interface”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password