-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External users cannot see projects #10789
Comments
By definition, an external user can see only elements of its thirdparties. |
Got same problem here with a quite fresh 10.0.0.4 install.
When UA connects, she can't see project where she is named as contact. |
Environment information are mentionned in #12798 |
Have you tested with latest dolibarr version ? |
Hello, You can re-open the issue if it is still a BUG |
yes in version 13.4 this bug still persists please fix |
14.0.5, the bug is still present |
Here is the race condition @eldy : Then in this case we can't filter only on "internal" ctc.source ... |
Has someone solved the issue? |
15.0.3 still not solved |
Bug
External users cannot see or access projects when assigned as contact.
Environment
Expected and actual behavior
External users should see projects they are assigned as contact
Steps to reproduce the behavior
Fix ?
It seems to be an error in htdocs/projet/class/project.class.php lines 1239 & 1247.
$sql.= " AND ec.fk_socpeople = ".$user->id.")";
Maybe use $user->contactid instead ?
fk_socpeople seems to be sometime a user id and sometime a contact id, this can lead to security issues.
The line 701 in
htdocs/projet/list.php
prevents the project list to be shown.The text was updated successfully, but these errors were encountered: