You do not have the required privileges plugin error
Hi,
We just installed a new cPanel server and one of our plugins that works with DNS returns the following error:
"[xml-api] Permission denied: You do not have the required privileges to run "dumpzone". [dumpzone] version [1]."
Has something changed that introduces this error?
How can we give proper permission to our resellers to avoid this error?
Here is the important sections of the plugin config file:
# Service that will serve this app
service=whostmgr
# System user to run process as
user=root
# ACLs
acls=list-accts,manage-dns-records
Isn't the root user supposed to have all the permissions?
-
I need to provide a little bit more info that hopefully can help. The API 1 calls are based on the logged in reseller (whm) username and accesshash. Up to version 66 it seems that reseller users had the permission to make dumpzone calls but that permission is somehow now removed in 68. 0 -
Hello, Can you verify what privileges you've assigned to this reseller? You can see this information in the following file: /var/cpanel/resellers Additionally, can you verify the specific steps you took to setup and install the plugin? Thank you. 0 -
Here is the list of privileges: add-pkg,allow-unlimited-bw-pkgs,allow-unlimited-pkgs,create-acct,create-dns,disallow-shell,edit-dns,edit-mx,edit-pkg,kill-acct,kill-dns,list-accts,park-dns,passwd,resftp,show-bandwidth,suspend-acct,upgrade-account,viewglobalpackages I can confirm that the same plugin works on all our other whm servers but they are all on version 64 and lower while this one is on 68. Plugin is already registered successfully. 0 -
For the workaround we now make all our api calls as root user. 0 -
Hello, You may also want to consider utilizing API tokens: Guide to API Authentication - API Tokens - Developer Documentation - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
5 comments