Symptoms

BankAccountAdd_API cannot be executed with the user credentials, an exception below is returned:

    "No access rights granted to method"

even though the user has all the privileges (e.g. admin).

Cause

The issue is caused by the bug with id #PBA-66134 ("BankAccountAdd_API fails: "No access rights granted to method"").

Resolution

Until the bug is fixed, it is possible to apply a workaround :

  1. add the line to /usr/local/bm/conf/BM.methods.list

    BM BankAccount BankAccountAdd_API PAYMENT_METHODS_CREATE_MODIFY
    
  2. run configure.pl

    /usr/local/bm/tools/configure.pl
    
  3. restart BA

    /etc/init.d/pba restart
    

A workaround described is to be reapplied after each BA update installation (until the bug is fixed)

Internal content