dolibarr-git
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-git] [Dolibarr/dolibarr] 091df0: fix the access of the bank ac


From: Laurent Destailleur
Subject: [Dolibarr-git] [Dolibarr/dolibarr] 091df0: fix the access of the bank account of one user
Date: Mon, 07 Oct 2019 23:56:31 -0700

  Branch: refs/heads/10.0
  Home:   https://github.com/Dolibarr/dolibarr
  Commit: 091df082fc023c3ddd301ae1f59e64c96eee3be4
      
https://github.com/Dolibarr/dolibarr/commit/091df082fc023c3ddd301ae1f59e64c96eee3be4
  Author: Laurent De Coninck <address@hidden>
  Date:   2019-10-08 (Tue, 08 Oct 2019)

  Changed paths:
    M htdocs/user/bank.php

  Log Message:
  -----------
  fix the access of the bank account of one user

There are 3 ways to access this tab :
    1. If the module holiday is enabled
    2. If the module holidays is enabled
    3. If the module expense report is enabled

More over that, the application checks if the user can access the bank
account of the selected user. The application does that twice (logical
^^), first to know if the tab has to be displayed or not. Second time,
when you arrive on the page /user/bank.php to know if you have access
(eg. if you type the url directly).

In this second check, the check of the expense report module was missing
(added by this PR). This caused the following issue: the tab was visible
but when the user clicked on itn, he received an error as he cannot
access the page.


  Commit: 958fdd5a4035bcf9b1df567de5b121db82e7fcd7
      
https://github.com/Dolibarr/dolibarr/commit/958fdd5a4035bcf9b1df567de5b121db82e7fcd7
  Author: Laurent Destailleur <address@hidden>
  Date:   2019-10-08 (Tue, 08 Oct 2019)

  Changed paths:
    M htdocs/user/bank.php

  Log Message:
  -----------
  Merge pull request #12061 from laudeco/hotfix/access_bank_account_user

FIX the access of the bank account of one user


Compare: 
https://github.com/Dolibarr/dolibarr/compare/51be0fad99c5...958fdd5a4035



reply via email to

[Prev in Thread] Current Thread [Next in Thread]