[% USE Whostmgr; USE JSON; WRAPPER 'master_templates/master.tmpl' header = locale.maketext('Grant Support Access') breadcrumburl = '/scripts7/authorizesupport' stylesheets = [ Whostmgr.find_file_url('/templates/support/authorizesupport.min.css') ] scripts = [ Whostmgr.find_file_url('/libraries/jquery/current/jquery.min.js'), Whostmgr.find_file_url('/libraries/angularjs/1.4.4/angular.min.js'), Whostmgr.find_file_url('/libraries/angularjs/1.4.4/angular-sanitize.min.js'), Whostmgr.find_file_url('/libraries/angular-ui-bootstrap/optimized/ui-bootstrap-tpls-1.2.5.min.js'), Whostmgr.find_file_url('/templates/support/support.min.js') ] theme='bootstrap', app_key='grant_cpanel_support_access', CJT2_EXCLUSIVE = 0; # This application doesn't use the standard RequireJS structure that CJT2_EXCLUSIVE expects -%]
[%# Overides the ui-bootstrap-tpls success and danger alerts to match the styleguide %]
[% locale.maketext('When you [output,url,_1,create a ticket with cPanel support], we generate a unique [asis,SSH] key related to the ticket and your server. This key allows support to access your server. You may use this page to install the [asis,SSH] key that [asis,cPanel] provides or to remove a previously installed key.', '../scripts7/create_support_ticket') %]

[% locale.maketext('[output,strong,Info]: Make sure that the following [asis,IP] addresses may connect to your server:') %]

    [%- FOR ip IN data.access_ips %]
  • [% ip.ip | html %] - [% ip.description | html %]
  • [%- END %]
[% locale.maketext('[output,strong,Warning]: There are open support tickets with access granted on this server, but the firewall rules added during in the grant process are missing.') %] [% locale.maketext('[output,strong,Warning]: There are no granted support tickets for this server, but the Revoke process did not remove [asis,cPanel] support’s [asis,IP] addresses from the server’s firewall rules.') %]
[% locale.maketext('[output,strong,Warning]: When a support ticket has been closed, immediately revoke [asis,cPanel] support’s access to your server.') %]
{{ticket.ticket_status}} [% locale.maketext('Ticket ID:') %] {{ticket.ticket_id}} {{ticket.ticket_subject}}
[% locale.maketext('Server') %] [% locale.maketext('User') %] [% locale.maketext('SSH Info') %] [% locale.maketext('Granted') %]    
{{auth.server_name && auth.server_num + " - " + auth.server_name || auth.server_num}} {{auth.ssh_username}} {{auth.ssh_ip}}:{{auth.ssh_port}} {{ auth.auth_time | fromNow }} [% locale.maketext('Not Granted') %] [% locale.maketext('Not Applicable') %]
[% locale.maketext('Success') %]
[% locale.maketext('Timeout') %]
[% locale.maketext('Ticket System Timeout') %]
[% locale.maketext('Unknown') %]
[% locale.maketext('Unreachable') %]
[% locale.maketext('Refused') %]
[% locale.maketext('Protocol') %]
[% locale.maketext('Authentication') %]
[% locale.maketext('Environment') %]
[% locale.maketext('Escalate') %]
[% locale.maketext('Error') %]
[% locale.maketext('This ticket has no associated servers.') %]
[% locale.maketext('[output,strong,0 Tickets] require authorization.') %]
[% END #wrapper -%]