Page 1 of 1

Can´t create CSF only permissions for API token used by root

Posted: 06 Mar 2018, 19:02
by ibertrix
Further information in this Cpanel thread:

https://forums.cpanel.net/threads/minim ... st-2533371

Re: Can´t create CSF only permissions for API token used by root

Posted: 16 Mar 2018, 11:08
by ForumAdmin
Please post details in this thread, do not simply reference a remote link.

That is happening because the cPanel provided ACL routine "Whostmgr::ACLS::hasroot()" is not returning "1" when being called through that method. It does through normal WHM login, etc, so there's nothing we can do about that.

The script is using the standard method of restriction through cPanel provided ACL's as explained here:
https://documentation.cpanel.net/displa ... trol+Lists

Using a method of access to the csf UI other that via the normal WHM login is at your own risk as it is only guaranteed to work via that normal WHM login method so far as the script is concerned.

Re: Can´t create CSF only permissions for API token used by root

Posted: 20 Jul 2018, 23:53
by ibertrix
I have been using WHM login through API token:

https://server:2087/cgi/configserver/cs ... XX.XXX.XXX

using a reseller account with minimal permissions.

and this has been working for several months granting permissions through API token with minimum permissions. Also in the privileges granted to the reseller were minimum.

Something has been changed lately because this has stopped working. I need to grant all permissions to the API token, otherwise it won´t work. Funny thing is that privileges in the reseller account can be set to minimal.

What has changed?