To Select Roles That Will Have Administrative Privileges

In MYOB Advanced, the Administrator role has administrative privileges. For your instance, you can change the default settings and assign administrative privileges to one role or multiple roles whenever you need to.

Prerequisites

Configure the roles to which you want to give administrator privileges in your instance. For more information on role configuration, see Configuring User Roles.

To Select a Role or Multiple Roles That Will Have Administrative Privileges

CAUTION: Make sure that all users of your website are warned about the site restart so that they can save all documents.
  1. Open the web.config file for the site instance. Usually it is located in %Program Files%\MYOB Advanced\<instance name>, where <instance name> is the name of the application instance website.
  2. In the file, find the Providers section (in the pxaccess subsection of the px.core section), which has the following settings.
    <providers>
       <remove name="PXDatabaseAccessProvider" />
       <add name="PXDatabaseAccessProvider" type="PX.Data.PXDBFeatureAccessProvider, PX.Data" applicationName="/" administratorRole="Administrator" />
    </providers>

    The administratorRole="<role>" parameter defines which roles have the administrator privileges.

  3. List the roles you want to have the administrative privileges in the administratorRole parameter, as shown below.
    administratorRole="<Roles>"

    Where Roles is the comma-separated (without spaces) list of roles to which you want to grant administrative privileges.

  4. Save the web.config file, which automatically restarts the website.