{"action":"created","comment":{"url":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/comments/308174390","pull_request_review_id":267704358,"id":308174390,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwODE3NDM5MA==","diff_hunk":"@@ -0,0 +1,71 @@\n+<html>\n+<head>\n+  <title>Test</title>\n+  <style>\n+    body {\n+      font-family: \"Helvetica Neue\", Helvetica, Arial, sans-serif;\n+      font-size: .75em;\n+    }\n+    h1 {\n+        font-size: 1.5em;\n+        font-weight: bold;\n+    }\n+\n+  </style>\n+</head>\n+<body>\n+<h1>Mandat type d’un aidant réalisant des démarches administratives en ligne au bénéfice d’un usager viale service «Aidants Connect»</h1>\n+\n+<p>Je  soussigné(e), <strong>{{usager}}</strong>  autorise <strong>{{aidant}}</strong>, exerçant  la  profession de <strong>{{profession}}</strong> au  sein  de <strong>{{organisme}}</strong> à\n+    réaliser  en  mon  nom conformément aux dispositions des articles 1984 et suivants du Code civil, les démarches administratives en ligne suivantes:</p>\n+\n+{% for demarche in demarches %}\n+    <ul>\n+        <li><strong>{{ demarche }}</strong></li>\n+    </ul>\n+{% endfor %}\n+\n+<p> pour une durée de <strong>{{duree}}</strong></p>\n+\n+ <p>A cette fin:\n+     <ul>\n+    <li><strong>{{usager}}</strong> autorise <strong>{{aidant}}</strong> à utiliser ses données à caractère personnel.</li>\n+    <li><strong>{{aidant}}</strong> a  rappelé  à <strong>{{usager}}</strong> l’objet de l’intervention, la raison pour laquelle ses informations   sont   collectées   et   leur   utilité;  l’existence  de  droits\n+        sur  ses  données  (accès, rectification,  suppression,  etc.)  et  la  possibilité  pour  le  mandant  de  retirer  à  tout  moment  son consentement. </li>\n+</ul>\n+ </p>\n+<p>\n+Le mandataire s’engage à:\n+    <ol>\n+        <li>ne collecter  et  enregistrer  que  les  seules  informations  strictement  nécessaires  au regard  des démarches susvisées; </li>\n+        <li>n’utiliserles informations concernant le mandant que pour les seules démarches susvisées. S’il a besoin de les utiliser pour d’autres démarches, il doit au préalable en informer le mandant et en demander l’autorisation; </li>\n+        <li>mettre à jour puis à supprimer l’ensemble des informations relatives au mandant lorsqu’elles ne sont plus nécessaires à la réalisation des démarches lui incombant au titre du mandat;</li>\n+        <li>informer le mandant de toutes les actions qu’il/elle effectue à sa place; </li>\n+        <li>conserver  les  données  à  caractère  personnel  strictement  nécessaires à  ces  démarches  le  seul temps strictement nécessaire à leur réalisation.</li>","path":"aidants_connect_web/templates/aidants_connect_web/mandat/pdf_mandat.html","position":44,"original_position":44,"commit_id":"d60718a2b85ccedb2c26880069a043d96cf04402","original_commit_id":"d60718a2b85ccedb2c26880069a043d96cf04402","user":{"login":"thimy","id":1301085,"node_id":"MDQ6VXNlcjEzMDEwODU=","avatar_url":"https://avatars3.githubusercontent.com/u/1301085?v=4","gravatar_id":"","url":"https://api.github.com/users/thimy","html_url":"https://github.com/thimy","followers_url":"https://api.github.com/users/thimy/followers","following_url":"https://api.github.com/users/thimy/following{/other_user}","gists_url":"https://api.github.com/users/thimy/gists{/gist_id}","starred_url":"https://api.github.com/users/thimy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thimy/subscriptions","organizations_url":"https://api.github.com/users/thimy/orgs","repos_url":"https://api.github.com/users/thimy/repos","events_url":"https://api.github.com/users/thimy/events{/privacy}","received_events_url":"https://api.github.com/users/thimy/received_events","type":"User","site_admin":false},"body":"```suggestion\r\n        <li>conserver les données à caractère personnel strictement nécessaires à ces démarches le  seul temps strictement nécessaire à leur réalisation.</li>\r\n```","created_at":"2019-07-29T11:10:16Z","updated_at":"2019-07-29T11:35:13Z","html_url":"https://github.com/betagouv/Aidants_Connect/pull/48#discussion_r308174390","pull_request_url":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/48","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/comments/308174390"},"html":{"href":"https://github.com/betagouv/Aidants_Connect/pull/48#discussion_r308174390"},"pull_request":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/48","id":301053119,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAxMDUzMTE5","html_url":"https://github.com/betagouv/Aidants_Connect/pull/48","diff_url":"https://github.com/betagouv/Aidants_Connect/pull/48.diff","patch_url":"https://github.com/betagouv/Aidants_Connect/pull/48.patch","issue_url":"https://api.github.com/repos/betagouv/Aidants_Connect/issues/48","number":48,"state":"open","locked":false,"title":"Generate mandat as PDF","user":{"login":"Anna-Livia","id":13916213,"node_id":"MDQ6VXNlcjEzOTE2MjEz","avatar_url":"https://avatars0.githubusercontent.com/u/13916213?v=4","gravatar_id":"","url":"https://api.github.com/users/Anna-Livia","html_url":"https://github.com/Anna-Livia","followers_url":"https://api.github.com/users/Anna-Livia/followers","following_url":"https://api.github.com/users/Anna-Livia/following{/other_user}","gists_url":"https://api.github.com/users/Anna-Livia/gists{/gist_id}","starred_url":"https://api.github.com/users/Anna-Livia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anna-Livia/subscriptions","organizations_url":"https://api.github.com/users/Anna-Livia/orgs","repos_url":"https://api.github.com/users/Anna-Livia/repos","events_url":"https://api.github.com/users/Anna-Livia/events{/privacy}","received_events_url":"https://api.github.com/users/Anna-Livia/received_events","type":"User","site_admin":false},"body":"Fixes #46 \r\n\r\nThis PR : \r\n- Adds information to the User : Profession, organisme, ville\r\n- Forces unique email adresses\r\n- Forces email as username\r\n- Enables the \"Imprimer le mandat\" button in the `recap` template\r\n\r\nGenerates a PDF with the following information:\r\n['mandat_aidants_connect.pdf'.pdf](https://github.com/betagouv/Aidants_Connect/files/3430727/mandat_aidants_connect.pdf.pdf)\r\n","created_at":"2019-07-25T09:15:39Z","updated_at":"2019-07-29T11:35:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db99fb426ea79c9dca842a55063675bdf6017da8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/48/commits","review_comments_url":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/48/comments","review_comment_url":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/comments{/number}","comments_url":"https://api.github.com/repos/betagouv/Aidants_Connect/issues/48/comments","statuses_url":"https://api.github.com/repos/betagouv/Aidants_Connect/statuses/d60718a2b85ccedb2c26880069a043d96cf04402","head":{"label":"betagouv:generate_mandat","ref":"generate_mandat","sha":"d60718a2b85ccedb2c26880069a043d96cf04402","user":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"repo":{"id":180139859,"node_id":"MDEwOlJlcG9zaXRvcnkxODAxMzk4NTk=","name":"Aidants_Connect","full_name":"betagouv/Aidants_Connect","private":false,"owner":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/betagouv/Aidants_Connect","description":null,"fork":false,"url":"https://api.github.com/repos/betagouv/Aidants_Connect","forks_url":"https://api.github.com/repos/betagouv/Aidants_Connect/forks","keys_url":"https://api.github.com/repos/betagouv/Aidants_Connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betagouv/Aidants_Connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betagouv/Aidants_Connect/teams","hooks_url":"https://api.github.com/repos/betagouv/Aidants_Connect/hooks","issue_events_url":"https://api.github.com/repos/betagouv/Aidants_Connect/issues/events{/number}","events_url":"https://api.github.com/repos/betagouv/Aidants_Connect/events","assignees_url":"https://api.github.com/repos/betagouv/Aidants_Connect/assignees{/user}","branches_url":"https://api.github.com/repos/betagouv/Aidants_Connect/branches{/branch}","tags_url":"https://api.github.com/repos/betagouv/Aidants_Connect/tags","blobs_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betagouv/Aidants_Connect/statuses/{sha}","languages_url":"https://api.github.com/repos/betagouv/Aidants_Connect/languages","stargazers_url":"https://api.github.com/repos/betagouv/Aidants_Connect/stargazers","contributors_url":"https://api.github.com/repos/betagouv/Aidants_Connect/contributors","subscribers_url":"https://api.github.com/repos/betagouv/Aidants_Connect/subscribers","subscription_url":"https://api.github.com/repos/betagouv/Aidants_Connect/subscription","commits_url":"https://api.github.com/repos/betagouv/Aidants_Connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/betagouv/Aidants_Connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/betagouv/Aidants_Connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/betagouv/Aidants_Connect/contents/{+path}","compare_url":"https://api.github.com/repos/betagouv/Aidants_Connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betagouv/Aidants_Connect/merges","archive_url":"https://api.github.com/repos/betagouv/Aidants_Connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betagouv/Aidants_Connect/downloads","issues_url":"https://api.github.com/repos/betagouv/Aidants_Connect/issues{/number}","pulls_url":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls{/number}","milestones_url":"https://api.github.com/repos/betagouv/Aidants_Connect/milestones{/number}","notifications_url":"https://api.github.com/repos/betagouv/Aidants_Connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betagouv/Aidants_Connect/labels{/name}","releases_url":"https://api.github.com/repos/betagouv/Aidants_Connect/releases{/id}","deployments_url":"https://api.github.com/repos/betagouv/Aidants_Connect/deployments","created_at":"2019-04-08T12:02:11Z","updated_at":"2019-07-23T08:28:34Z","pushed_at":"2019-07-25T14:02:11Z","git_url":"git://github.com/betagouv/Aidants_Connect.git","ssh_url":"git@github.com:betagouv/Aidants_Connect.git","clone_url":"https://github.com/betagouv/Aidants_Connect.git","svn_url":"https://github.com/betagouv/Aidants_Connect","homepage":"","size":865,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":15,"license":null,"forks":1,"open_issues":15,"watchers":3,"default_branch":"master"}},"base":{"label":"betagouv:master","ref":"master","sha":"940b71a29cad251e7480c3e6347cb65a9e0901fc","user":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"repo":{"id":180139859,"node_id":"MDEwOlJlcG9zaXRvcnkxODAxMzk4NTk=","name":"Aidants_Connect","full_name":"betagouv/Aidants_Connect","private":false,"owner":{"login":"betagouv","id":7874148,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc4NzQxNDg=","avatar_url":"https://avatars0.githubusercontent.com/u/7874148?v=4","gravatar_id":"","url":"https://api.github.com/users/betagouv","html_url":"https://github.com/betagouv","followers_url":"https://api.github.com/users/betagouv/followers","following_url":"https://api.github.com/users/betagouv/following{/other_user}","gists_url":"https://api.github.com/users/betagouv/gists{/gist_id}","starred_url":"https://api.github.com/users/betagouv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/betagouv/subscriptions","organizations_url":"https://api.github.com/users/betagouv/orgs","repos_url":"https://api.github.com/users/betagouv/repos","events_url":"https://api.github.com/users/betagouv/events{/privacy}","received_events_url":"https://api.github.com/users/betagouv/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/betagouv/Aidants_Connect","description":null,"fork":false,"url":"https://api.github.com/repos/betagouv/Aidants_Connect","forks_url":"https://api.github.com/repos/betagouv/Aidants_Connect/forks","keys_url":"https://api.github.com/repos/betagouv/Aidants_Connect/keys{/key_id}","collaborators_url":"https://api.github.com/repos/betagouv/Aidants_Connect/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/betagouv/Aidants_Connect/teams","hooks_url":"https://api.github.com/repos/betagouv/Aidants_Connect/hooks","issue_events_url":"https://api.github.com/repos/betagouv/Aidants_Connect/issues/events{/number}","events_url":"https://api.github.com/repos/betagouv/Aidants_Connect/events","assignees_url":"https://api.github.com/repos/betagouv/Aidants_Connect/assignees{/user}","branches_url":"https://api.github.com/repos/betagouv/Aidants_Connect/branches{/branch}","tags_url":"https://api.github.com/repos/betagouv/Aidants_Connect/tags","blobs_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/refs{/sha}","trees_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/trees{/sha}","statuses_url":"https://api.github.com/repos/betagouv/Aidants_Connect/statuses/{sha}","languages_url":"https://api.github.com/repos/betagouv/Aidants_Connect/languages","stargazers_url":"https://api.github.com/repos/betagouv/Aidants_Connect/stargazers","contributors_url":"https://api.github.com/repos/betagouv/Aidants_Connect/contributors","subscribers_url":"https://api.github.com/repos/betagouv/Aidants_Connect/subscribers","subscription_url":"https://api.github.com/repos/betagouv/Aidants_Connect/subscription","commits_url":"https://api.github.com/repos/betagouv/Aidants_Connect/commits{/sha}","git_commits_url":"https://api.github.com/repos/betagouv/Aidants_Connect/git/commits{/sha}","comments_url":"https://api.github.com/repos/betagouv/Aidants_Connect/comments{/number}","issue_comment_url":"https://api.github.com/repos/betagouv/Aidants_Connect/issues/comments{/number}","contents_url":"https://api.github.com/repos/betagouv/Aidants_Connect/contents/{+path}","compare_url":"https://api.github.com/repos/betagouv/Aidants_Connect/compare/{base}...{head}","merges_url":"https://api.github.com/repos/betagouv/Aidants_Connect/merges","archive_url":"https://api.github.com/repos/betagouv/Aidants_Connect/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/betagouv/Aidants_Connect/downloads","issues_url":"https://api.github.com/repos/betagouv/Aidants_Connect/issues{/number}","pulls_url":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls{/number}","milestones_url":"https://api.github.com/repos/betagouv/Aidants_Connect/milestones{/number}","notifications_url":"https://api.github.com/repos/betagouv/Aidants_Connect/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/betagouv/Aidants_Connect/labels{/name}","releases_url":"https://api.github.com/repos/betagouv/Aidants_Connect/releases{/id}","deployments_url":"https://api.github.com/repos/betagouv/Aidants_Connect/deployments","created_at":"2019-04-08T12:02:11Z","updated_at":"2019-07-23T08:28:34Z","pushed_at":"2019-07-25T14:02:11Z","git_url":"git://github.com/betagouv/Aidants_Connect.git","ssh_url":"git@github.com:betagouv/Aidants_Connect.git","clone_url":"https://github.com/betagouv/Aidants_Connect.git","svn_url":"https://github.com/betagouv/Aidants_Connect","homepage":"","size":865,"stargazers_count":3,"watchers_count":3,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":15,"license":null,"forks":1,"open_issues":15,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/48"},"html":{"href":"https://github.com/betagouv/Aidants_Connect/pull/48"},"issue":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/issues/48"},"comments":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/betagouv/Aidants_Connect/statuses/d60718a2b85ccedb2c26880069a043d96cf04402"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"thimy"}}