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

3 posts Page 1 of 1
ibertrix
Junior Member
Posts: 5
Joined: 17 Apr 2017, 12:40


Further information in this Cpanel thread:

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


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: 5
Joined: 17 Apr 2017, 12:40


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?
3 posts Page 1 of 1