{"action":"created","issue":{"url":"https://api.github.com/repos/CanalTP/MttBundle/issues/96","repository_url":"https://api.github.com/repos/CanalTP/MttBundle","labels_url":"https://api.github.com/repos/CanalTP/MttBundle/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/CanalTP/MttBundle/issues/96/comments","events_url":"https://api.github.com/repos/CanalTP/MttBundle/issues/96/events","html_url":"https://github.com/CanalTP/MttBundle/pull/96","id":136056810,"number":96,"title":"Changed Some permissions","user":{"login":"datanel","id":187239,"avatar_url":"https://avatars.githubusercontent.com/u/187239?v=3","gravatar_id":"","url":"https://api.github.com/users/datanel","html_url":"https://github.com/datanel","followers_url":"https://api.github.com/users/datanel/followers","following_url":"https://api.github.com/users/datanel/following{/other_user}","gists_url":"https://api.github.com/users/datanel/gists{/gist_id}","starred_url":"https://api.github.com/users/datanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datanel/subscriptions","organizations_url":"https://api.github.com/users/datanel/orgs","repos_url":"https://api.github.com/users/datanel/repos","events_url":"https://api.github.com/users/datanel/events{/privacy}","received_events_url":"https://api.github.com/users/datanel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CanalTP/MttBundle/labels/need%20review","name":"need review","color":"fbca04"},{"url":"https://api.github.com/repos/CanalTP/MttBundle/labels/WIP","name":"WIP","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-02-24T13:06:32Z","updated_at":"2016-02-24T14:56:10Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CanalTP/MttBundle/pulls/96","html_url":"https://github.com/CanalTP/MttBundle/pull/96","diff_url":"https://github.com/CanalTP/MttBundle/pull/96.diff","patch_url":"https://github.com/CanalTP/MttBundle/pull/96.patch"},"body":"related to https://github.com/CanalTP/MttBridgeBundle/pull/10\r\n\r\nAn admin can list/add/edit a layout model and assign those models to a customer\r\nAnd a user can now list/add/edit/delete a layout configuration.\r\n\r\nSo there are 3 permissions : \r\n- BUSINESS_MANAGE_MODEL (list/add/edit a layout model)\r\n- BUSINESS_ASSIGN_MODEL (assign thoses models to a customer)\r\n- BUSINESS_MANAGE_LAYOUT_CONFIG ( list/add/edit/delete a layout configuration)\r\n\r\nChangelog:\r\n- Renamed BUSINESS_MANAGE_CUSTOMER (deprecated) to BUSINESS_ASSIGN_MODEL\r\n- Added BUSINESS_MANAGE_MODEL\r\n- Removed BUSINESS_LIST_LAYOUT_CONFIG (deprecated)\r\n\r\n\r\nIn NMM as super administrator you have to change the permissions \r\n- deselect **Gestion des modèles de fond de fiche** and **Assignation de modèles aux clients** to a **user MTT**\r\n- select everything for an admin MTT                          "},"comment":{"url":"https://api.github.com/repos/CanalTP/MttBundle/issues/comments/188289603","html_url":"https://github.com/CanalTP/MttBundle/pull/96#issuecomment-188289603","issue_url":"https://api.github.com/repos/CanalTP/MttBundle/issues/96","id":188289603,"user":{"login":"datanel","id":187239,"avatar_url":"https://avatars.githubusercontent.com/u/187239?v=3","gravatar_id":"","url":"https://api.github.com/users/datanel","html_url":"https://github.com/datanel","followers_url":"https://api.github.com/users/datanel/followers","following_url":"https://api.github.com/users/datanel/following{/other_user}","gists_url":"https://api.github.com/users/datanel/gists{/gist_id}","starred_url":"https://api.github.com/users/datanel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datanel/subscriptions","organizations_url":"https://api.github.com/users/datanel/orgs","repos_url":"https://api.github.com/users/datanel/repos","events_url":"https://api.github.com/users/datanel/events{/privacy}","received_events_url":"https://api.github.com/users/datanel/received_events","type":"User","site_admin":false},"created_at":"2016-02-24T14:56:10Z","updated_at":"2016-02-24T14:56:10Z","body":"Not now but before yes and why?"}}