Skip to main content

API Tokens and WHM Function listresellers / resellerstats

Comments

5 comments

  • cPanelMichael
    Hello @bellwood, Both of those WHM API 1 functions require the All Features (all) privilege. Thank you.
    0
  • bellwood
    So another case where a 'god token' is needed to simply list something? Any chance this can be discussed internally to see if there is a chance to scope this down to a resellers group or as general permissions - using a 'god token' to simply list the resellers on a box and their stats seems careless. Also is there a reference/document for what token privileges are required for all the API methods? The ACL doc that's out there lists some but not all: Guide to WHM Plugins - ACL Reference Chart - Developer Documentation - cPanel Documentation Thanks, I look forward to your feedback.
    0
  • cPanelMichael
    Hello @bellwood, As it stands, this is by-design because it's not possible to view a list of resellers or view reseller usage statistics without root access to the system. The ability to have resellers manage/view other resellers is open as a feature request on the link below if you'd like to vote/add feedback: Edit Reseller Nameservers and Privileges - Version 78 Documentation - cPanel Documentation Is there a specific privilege that's not listed that you'd like to see added? Thank you.
    0
  • bellwood
    listresellers and resellerstats aren't in there. Understood from your standpoint on the privileges required however it would be nice if some additional granularity was available but perhaps that will come in time. From a deny then allow mentality it would be fantastic if the API token interface simply offered the ability to give read and/or write privileges to any of the methods and in some cases did containerize certain sections like DNS, etc.
    0
  • cPanelMichael
    From a deny then allow mentality it would be fantastic if the API token interface simply offered the ability to give read and/or write privileges to any of the methods and in some cases did containerize certain sections like DNS, etc.

    Hello @bellwood, This would make for a good
    0

Please sign in to leave a comment.