Concerns about reseller account owner

gildas

Well-Known Member
Mar 30, 2017
58
5
8
Paris
cPanel Access Level
Root Administrator
Hello,

since the update of CPANEL in order to pass in version 66.0.64, I have a concern of delivery of account reseller.
The creation of a reseller account takes place from an api and the command setacls
when delivering a reseller there is no right, so it can not create a hosting package from their own WHM etc ...

Where would this error come from? worry with calling a function via the api?
bug related to the CPANEL update?

Best Regards,
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

Can you let us know the specific WHM API 1 command you are using?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
we currently use the following API command: json-api/setacls?reseller
For instance, could you provide an example of the specific API call that isn't working?

Thank you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,228
463
Hello,

I'm unable to reproduce any issues with this WHM API 1 function. EX:

Code:
whmapi1 setacls reseller=username acl-kill-dns=1 acl-edit-dns=1 acl-edit-mx=1 acl-add-pkg=1 acl-suspend-acct=1 acl-ssl=1 manage-api-tokens=1 cpanel-integration=1
This assigns the privileges referenced in the command. Feel free to open a support ticket using the link in my signature if you'd like us to take a closer look at why this isn't working on your system.

Thank you.
 

gildas

Well-Known Member
Mar 30, 2017
58
5
8
Paris
cPanel Access Level
Root Administrator
Hello,

here is the command we launch in order to create an account reseller:
Code:
$parameters = array (
            'acl-list-accts' => 1,
            'acl-show-bandwidth' => 1,
            'acl-suspend-acct' => 1,
            'acl-passwd' => 1,
            'acl-create-acct' => 1,
            'acl-edit-mx' => 1,
            'acl-ssl-gencrt' => 1,
            'acl-ssl-buy' => 1,
            'acl-ssl' => 1,
            'acl-kill-acct' => 1,
            'acl-upgrade-account' => 1,
            'acl-create-dns' => 1,
            'acl-edit-dns' => 1,
            'acl-park-dns' => 1,
            'acl-kill-dns' => 1,
            'acl-add-pkg' => 1,
            'acl-edit-pkg' => 1,
            'acl-thirdparty' => 1,
            'acl-mailcheck' => 1,
            'acl-news' => 1,
            'acl-disallow-shell' => 1,
            'acl-add-pkg-shell' => 1,
            'acl-viewglobalpackages' => 0,
            'acl-allow-addoncreate' => 1,
            'acl-allow-parkedcreate' => 1,
            'acl-allow-unlimited-bw-pkgs' => 0,
            'acl-allow-unlimited-disk-pkgs' => 0,
            'acl-allow-unlimited-pkgs' => 0,
            'acl-add-pkg-ip' => 0,
            'acl-allow-emaillimits-pkgs' => 0,
            'acl-stats' => 0,
            'acl-status' => 0,
            'acl-restart' => 0,
            'acl-resftp' => 0,
            'acl-edit-account' => 0,
            'acl-limit-bandwidth' => 0,
            'acl-quota' => 0,
            'acl-demo-setup' => 0,
            'acl-rearrange-accts' => 0,
            'acl-clustering' => 0,
            'acl-all' => 0,
            'acl-rslimit-disk' => 50000,
            'acl-rslimit-bw' => 25000,
);