How to prevent custom themes from showing up for a reseller?

Valetia

Well-Known Member
Jun 20, 2002
216
10
168
cPanel Access Level
Root Administrator
It appears that when a reseller visits the 'Branding' section of WHM, they gain access to all of the themes residing on the server, including custom ones used by their hosting provider.

How does one prevent such custom themes from being listed in a reseller's WHM?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
Hello :)

Could you provide a screenshot of what you are referring to? Please note the following documentation:

Branding

In particular, note the changes regarding Paper Lantern:

This interface only allows you to modify the x3 and x3mail themes, as well as any deprecated themes. You cannot brand the Paper Lantern theme from this interface.

For more information about branding for Paper Lantern, read our Develop a Style documentation.
We strongly recommend that you do not use deprecated themes.
Thank you.
 

Valetia

Well-Known Member
Jun 20, 2002
216
10
168
cPanel Access Level
Root Administrator
Here is how you can reproduce it:

1. As root, run the following:

cp -a /usr/local/cpanel/base/frontend/x3 /usr/local/cpanel/base/frontend/x10

2. Log into WHM as any reseller on the same server.

3. Click 'Branding' on the left.

4. You will see the newly copied 'x10' theme listed. :(

How does a root administrator specify which themes may be listed on the aforementioned Branding page in a reseller's WHM (preferably on a per-reseller basis, but if not then for all resellers)?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,202
363
How does a root administrator specify which themes may be listed on the aforementioned Branding page in a reseller's WHM (preferably on a per-reseller basis, but if not then for all resellers)?
I don't believe it's configurable as a feature for resellers. I suggest opening a feature request for this at:

Submit A Feature Request

Thank you.