You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$this->server->fault('permission_denied', 'You do not have the permissions to access this function.');
913
-
returnfalse;
914
-
}
915
-
916
-
if (!empty($client_id)) {
917
-
$server_id = $app->functions->intval($server_id);
918
-
$client_id = $app->functions->intval($client_id);
919
-
$sql = "SELECT id, origin, d.active FROM dns_soa d INNER JOIN sys_user s on (d.sys_groupid = s.default_group) WHERE client_id = ? AND server_id = ? ORDER BY origin ASC";
thrownewSoapFault('permission_denied', 'You do not have the permissions to access this function.');
931
-
returnfalse;
932
-
}
933
-
934
-
if (!empty($client_id)) {
935
-
$server_id = $app->functions->intval($server_id);
936
-
$client_id = $app->functions->intval($client_id);
937
-
$sql = "SELECT d.id, d.origin, d.ns, d.active FROM dns_slave d INNER JOIN sys_user s on (d.sys_groupid = s.default_group) WHERE client_id = ? AND server_id = ? ORDER BY origin ASC";
thrownewSoapFault('permission_denied', 'You do not have the permissions to access this function.');
1118
-
returnfalse;
1119
-
}
1120
-
1121
-
if (!empty($client_id)) {
1122
-
$client_id = $app->functions->intval($client_id);
1123
-
$sql = "SELECT domain_id, domain, m.active, m.server_id, svr.server_name FROM mail_domain m INNER JOIN sys_user s on(m.sys_groupid = s.default_group) INNER JOIN server AS svr ON (m.server_id = svr.server_id) WHERE client_id = ? ORDER BY domain ASC";
thrownewSoapFault('permission_denied', 'You do not have the permissions to access this function.');
1137
-
returnfalse;
1138
-
}
1139
-
1140
-
if (!empty($client_id)) {
1141
-
$client_id = $app->functions->intval($client_id);
1142
-
$sql = "SELECT mailuser_id, email, cc, quota, server_id, postfix as active FROM mail_user m INNER JOIN sys_user s on(m.sys_groupid = s.default_group) WHERE client_id = ? AND email LIKE ? ORDER BY email ASC";
thrownewSoapFault('permission_denied', 'You do not have the permissions to access this function.');
1156
-
returnfalse;
1157
-
}
1158
-
1159
-
if (!empty($client_id) ) {
1160
-
$client_id = $app->functions->intval($client_id);
1161
-
$sql = "SELECT forwarding_id, source, destination, type, m.active FROM mail_forwarding m INNER JOIN sys_user s on(m.sys_groupid = s.default_group) WHERE client_id = ? AND source LIKE ? ORDER BY type ASC, source ASC" ;
$sql = "SELECT ftp_user_id, f.username, f.active FROM ftp_user f INNER JOIN sys_user s on(f.sys_groupid = s.default_group) WHERE client_id = ? AND parent_domain_id = ? ORDER BY f.username ASC" ;
thrownewSoapFault('permission_denied', 'You do not have the permissions to access this function.');
1040
-
returnfalse;
1041
-
}
1042
-
1043
-
if (!empty($client_id) ) {
1044
-
$client_id = $app->functions->intval($client_id);
1045
-
$sql = "SELECT w.domain_id, w.domain, w.type, w.hd_quota, w.active, w.parent_domain_id, svr.server_name FROM web_domain w INNER JOIN sys_user AS s ON(w.sys_groupid = s.default_group) INNER JOIN server AS svr ON (w.server_id = svr.server_id) WHERE s.client_id = ? ORDER BY domain ASC" ;
0 commit comments