mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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.
|
||
|---|---|---|
| .. | ||
| admin | ||
| class | ||
| group | ||
| notify | ||
| agenda_extsites.php | ||
| bank.php | ||
| card.php | ||
| clicktodial.php | ||
| document.php | ||
| hierarchy.php | ||
| home.php | ||
| index.html | ||
| info.php | ||
| ldap.php | ||
| list.php | ||
| logout.php | ||
| note.php | ||
| param_ihm.php | ||
| passwordforgotten.php | ||
| perms.php | ||