{"action":"created","issue":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/3606","labels_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/3606/labels{/name}","comments_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/3606/comments","events_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/3606/events","html_url":"https://github.com/Dolibarr/dolibarr/issues/3606","id":108300269,"number":3606,"title":"Bug: Marges","user":{"login":"fonkyzeus","id":14835228,"avatar_url":"https://avatars.githubusercontent.com/u/14835228?v=3","gravatar_id":"","url":"https://api.github.com/users/fonkyzeus","html_url":"https://github.com/fonkyzeus","followers_url":"https://api.github.com/users/fonkyzeus/followers","following_url":"https://api.github.com/users/fonkyzeus/following{/other_user}","gists_url":"https://api.github.com/users/fonkyzeus/gists{/gist_id}","starred_url":"https://api.github.com/users/fonkyzeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fonkyzeus/subscriptions","organizations_url":"https://api.github.com/users/fonkyzeus/orgs","repos_url":"https://api.github.com/users/fonkyzeus/repos","events_url":"https://api.github.com/users/fonkyzeus/events{/privacy}","received_events_url":"https://api.github.com/users/fonkyzeus/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-25T10:21:15Z","updated_at":"2015-09-25T14:01:23Z","closed_at":null,"body":"# Environment\r\n- **Version**: 3.8.0\r\n- **OS**: Linux\r\n- **Web server**: Apache\r\n- **PHP**: cgi-fcgi 5.3.29\r\n- **Database**: MySQL or MariaDB 5.1.73-2+squeeze+build1+1-log\r\n- **URL**: /341/htdocs/margin/tabs/thirdpartyMargins.php?socid=1\r\n\r\n# Report\r\nLorsque j'autorise un salarié a voir des tiers ou à voir tous les tiers, via la fiche du tiers il accède à sa marge, même si je ne l'autorise pas à voir la proposition commerciale.\r\nAfin que les salariés puissent intervenir sur les projets et tâches tout en les reliant à des clients, il est indispensable qu'ils puissent avoir accès au tiers.\r\nPar contre, en fonction de leur poste, il ne doivent pas accéder à des données financières comme les marges...\r\n\r\nCordialement\r\n\r\nLaurent MOUREN"},"comment":{"url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/comments/143232067","html_url":"https://github.com/Dolibarr/dolibarr/issues/3606#issuecomment-143232067","issue_url":"https://api.github.com/repos/Dolibarr/dolibarr/issues/3606","id":143232067,"user":{"login":"fonkyzeus","id":14835228,"avatar_url":"https://avatars.githubusercontent.com/u/14835228?v=3","gravatar_id":"","url":"https://api.github.com/users/fonkyzeus","html_url":"https://github.com/fonkyzeus","followers_url":"https://api.github.com/users/fonkyzeus/followers","following_url":"https://api.github.com/users/fonkyzeus/following{/other_user}","gists_url":"https://api.github.com/users/fonkyzeus/gists{/gist_id}","starred_url":"https://api.github.com/users/fonkyzeus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fonkyzeus/subscriptions","organizations_url":"https://api.github.com/users/fonkyzeus/orgs","repos_url":"https://api.github.com/users/fonkyzeus/repos","events_url":"https://api.github.com/users/fonkyzeus/events{/privacy}","received_events_url":"https://api.github.com/users/fonkyzeus/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T14:01:23Z","updated_at":"2015-09-25T14:01:23Z","body":"when not allowed to see margin, a user should not have (see in the image capture) this item on the client card (or unable to click).\r\nBest regards\r\n\r\n![dolibarr](https://cloud.githubusercontent.com/assets/14835228/10102403/74fbcf54-639e-11e5-863c-e2ef642bcda3.JPG)\r\n"}}