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

Post Reply
ibertrix
Junior Member
Posts: 6
Joined: 17 Apr 2017, 12:40

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

Post by ibertrix »

Further information in this Cpanel thread:

https://forums.cpanel.net/threads/minim ... st-2533371
ForumAdmin
Moderator
Posts: 1523
Joined: 01 Oct 2008, 09:24

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

Post 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.
ibertrix
Junior Member
Posts: 6
Joined: 17 Apr 2017, 12:40

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

Post 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?
Post Reply