Article ID: 118468, created on Nov 6, 2013, last review on May 9, 2014

  • Applies to:
  • Business Automation

Question

After upgrade to PBA 5.5 the staff members cannot access Message Log. What privileges should be included to the user's role for the user to be able to access PBA > System > Logs > Message Log ?

Answer

Previously (in PBA 5.4.x) the privilege COMMUNIC_VIEW_MSG_LOG was enough. Since PBA 5.5 privilege CONFIG_GLOBAL_SETTINGS is required (this is to be changed in the future product updates within an internal request #PBA-52375).

However the privilegy CONFIG_GLOBAL_SETTINGS gives the user excessive permissions, there is a workaround for the users to be able to view the message log without this privilege:

  1. Create folder /usr/local/bm/conf/wnd/MESSAGE/customization/customization/

  2. Create a file MainClass_NewSystemSettingsNewMenu.xml in this folder:

    <window id="MainClass_NewSystemSettingsNewMenu">
      <elements>
        <href id="sys_set_system_message_log" value="Message Log" icon="images/nav/tree/ConfigurationDirector/EventManager/EventLog-16.gif"/>
      </elements>
      <actions>
        <ref id="sys_set_system_message_log">
          <call type="window" callee=MESSAGE::EmailMessage_EmailMessageList()/>
        </ref>
      </actions>
      <layout>
        <grid id="sys_set_operations_iconpanel">
          <row id="sys_set_system_message_log" after="sys_set_operations_helpdesk">
            <cell id="title">sys_set_system_message_log</cell>
            <cell id="description">``</cell>
          </row>
        </grid>
      </layout>
    </window>
    
  3. Make sure pba user has permissions to the file
  4. Restart www

    /etc/init.d/www restart
    

As a result of these actions menu "Message log" will appear if one clicks on System->Settings in the Operations section.

Search Words

message log

privilege

Granting Role to user

PBA privileges system is useless

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF