CpanelInc / xmlapi-php

A PHP Class for Interacting with cPanel's XML-API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

::EditZone / Permission / 200k+ domains

integrateddigital opened this issue · comments

Hi All,
Thanks for this library.
I've created a system, it runs in-house in the company I work for, it manages 200k+ domains, a portion
of these domains are delegated to a cpanel/whm instance - about 30k of 'em; interaction is via
cpanel api2 ( xmlapi-php ) .. we have been facing a problem where in many instances
the DNS Edit ( read and edit ) falls to "You do not have permission to read this zone" ..
-it is not related to the permission of "Advanced DNS Zone Edit feature/package"
( unless it's an unix permission, ? )
-There is only ONE username/account in cpanel that owns it.

Given that this is an exception instance [ all domains are owned by the same entity ], this is my question:

How can we bypass this problem ? Can we somehow chmod +x ( or alike ) a path ? or
which validation this is really doing ? root via whm user:2087 doesnt help ..

We have full control of the server (it's physically local, the server ! ) - ..

Before we write a from-scratch/apache fetching DNS Zone workaround, I really, really wonder:

can we not bypass this somehow ?

any help greatly appreciated !

txs,
s