mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
When a user don't have the permission `$user->rights->projet->all->lire`, viewing some tasks related entities (like `tasks/contact.php?id=1&withproject=1`) cause `Call to undefined method Task::getProjectsAuthorizedForUser()` fatal error. The problem is caused by calling getProjectsAuthorizedForUser on $object insted of $projectstatic. |
||
|---|---|---|
| .. | ||
| activity | ||
| admin | ||
| ajax | ||
| class | ||
| stats | ||
| tasks | ||
| card.php | ||
| contact.php | ||
| document.php | ||
| element.php | ||
| ganttchart.inc.php | ||
| ganttview.php | ||
| graph_opportunities.inc.php | ||
| index.php | ||
| info.php | ||
| jsgantt_language.js.php | ||
| list.php | ||
| note.php | ||
| tasks.php | ||