API Allow resellers to use resellerstats command on their own behalf
As a reseller, I'm unable to see how much space I have left in my disk quota allocation, via API.
The ability to automate package creation via API is great, but without knowing how much space is left, I cannot implement any optimizations or balancing across many cPanel servers.
Seems like a simple fix. Right now, the resellerstats API command gives me exactly what I need. It is unfortunately not available to anyone but root. Please allow resellers, to run the command for themselves.
- if( $root )
+ if( $root || $usernameParam = getUser()->getUsername() )
Thank you for considering!