Missing option to set public-contact in WHM API 1 saveacllist

luissquall

Member
Jun 27, 2014
10
2
3
México
cPanel Access Level
Root Administrator
Hello,

I couldn't find a way to allow a reseller to edit their public contact information via WHM API 1 'saveaclist' command:

Code:
[email protected] [~]# whmapi1 saveacllist acllist=public_contact_acl acl-public-contact=1
[email protected] [~]# cat /var/cpanel/acllists/public_contact_acl | grep public
public-contact=0
Also the feature is missing in the documentation: WHM API 1 Functions - saveacllist - Software Development Kit - cPanel Documentation

As a workaround I edited directly the option in /var/cpanel/acllists/public_contact_ac.
 

cPanelMichael

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

The "Public Contact" setting is configurable via "WMH >> Customization" and is a standard privilege that's automatically enabled upon making an account a reseller. It's currently bundled with the "Manage Styles" privilege, so you'd need to use that ACL when enabling or disabling the ability for a reseller to configure the "Public Contact" setting. EX:

Code:
whmapi1 saveacllist acllist=public_contact_acl acl-manage-styles=0
I encourage you to open a feature request if you'd like to see a separate ACL implemented for the "Public Contact" setting on it's own:

Submit A Feature Request

Thank you.