Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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

Discussion in 'General Discussion' started by luissquall, Jan 31, 2018.

Tags:
  1. luissquall

    luissquall Member

    Joined:
    Jun 27, 2014
    Messages:
    8
    Likes Received:
    2
    Trophy Points:
    3
    Location:
    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:
    root@server [~]# whmapi1 saveacllist acllist=public_contact_acl acl-public-contact=1
    root@server [~]# 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.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,672
    Likes Received:
    1,789
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice