{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/8852","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/8852/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/8852/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/8852/events","html_url":"https://github.com/angular/angular-cli/pull/8852","id":281503220,"number":8852,"title":"feat: allowOutsideReadDir configuration","user":{"login":"eromano","id":1030050,"avatar_url":"https://avatars1.githubusercontent.com/u/1030050?v=4","gravatar_id":"","url":"https://api.github.com/users/eromano","html_url":"https://github.com/eromano","followers_url":"https://api.github.com/users/eromano/followers","following_url":"https://api.github.com/users/eromano/following{/other_user}","gists_url":"https://api.github.com/users/eromano/gists{/gist_id}","starred_url":"https://api.github.com/users/eromano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eromano/subscriptions","organizations_url":"https://api.github.com/users/eromano/orgs","repos_url":"https://api.github.com/users/eromano/repos","events_url":"https://api.github.com/users/eromano/events{/privacy}","received_events_url":"https://api.github.com/users/eromano/received_events","type":"User","site_admin":false},"labels":[{"id":393399567,"url":"https://api.github.com/repos/angular/angular-cli/labels/cla:%20yes","name":"cla: yes","color":"0e8a16","default":false}],"state":"open","locked":false,"assignee":{"login":"hansl","id":681969,"avatar_url":"https://avatars1.githubusercontent.com/u/681969?v=4","gravatar_id":"","url":"https://api.github.com/users/hansl","html_url":"https://github.com/hansl","followers_url":"https://api.github.com/users/hansl/followers","following_url":"https://api.github.com/users/hansl/following{/other_user}","gists_url":"https://api.github.com/users/hansl/gists{/gist_id}","starred_url":"https://api.github.com/users/hansl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansl/subscriptions","organizations_url":"https://api.github.com/users/hansl/orgs","repos_url":"https://api.github.com/users/hansl/repos","events_url":"https://api.github.com/users/hansl/events{/privacy}","received_events_url":"https://api.github.com/users/hansl/received_events","type":"User","site_admin":false},"assignees":[{"login":"hansl","id":681969,"avatar_url":"https://avatars1.githubusercontent.com/u/681969?v=4","gravatar_id":"","url":"https://api.github.com/users/hansl","html_url":"https://github.com/hansl","followers_url":"https://api.github.com/users/hansl/followers","following_url":"https://api.github.com/users/hansl/following{/other_user}","gists_url":"https://api.github.com/users/hansl/gists{/gist_id}","starred_url":"https://api.github.com/users/hansl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hansl/subscriptions","organizations_url":"https://api.github.com/users/hansl/orgs","repos_url":"https://api.github.com/users/hansl/repos","events_url":"https://api.github.com/users/hansl/events{/privacy}","received_events_url":"https://api.github.com/users/hansl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2017-12-12T19:11:17Z","updated_at":"2018-04-03T14:26:46Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/angular/angular-cli/pulls/8852","html_url":"https://github.com/angular/angular-cli/pull/8852","diff_url":"https://github.com/angular/angular-cli/pull/8852.diff","patch_url":"https://github.com/angular/angular-cli/pull/8852.patch"},"body":"Load file from an external folder now fails because of this check :\r\nAn asset cannot be read from a location outside the project\r\nIntroduced by the PR:\r\n64c6031#diff-9eb0a75e499bdadd44d6dc62218812b8\r\nWith allowOutsideOutDir property asset configuration the user can decide to allow this kind of behaviour:\r\n\r\n```json\r\n\"assets\": [\r\n  {\r\n    \"glob\": \"**/*\",\r\n    \"input\": \"/temp-folder/outside-allowed/of/project\",\r\n    \"output\": \"../not-dist/some/folder/\",\r\n    \"allowOutsideReadDir\": true\r\n  },\r\n]\r\n\r\n```\r\nit is false by default and be enabled by the user only when he knows the security risk behind this kind of decision.\r\n\r\nSee issue: https://github.com/angular/angular-cli/issues/8783\r\n"},"comment":{"url":"https://api.github.com/repos/angular/angular-cli/issues/comments/378269118","html_url":"https://github.com/angular/angular-cli/pull/8852#issuecomment-378269118","issue_url":"https://api.github.com/repos/angular/angular-cli/issues/8852","id":378269118,"user":{"login":"Dumpen","id":2656616,"avatar_url":"https://avatars2.githubusercontent.com/u/2656616?v=4","gravatar_id":"","url":"https://api.github.com/users/Dumpen","html_url":"https://github.com/Dumpen","followers_url":"https://api.github.com/users/Dumpen/followers","following_url":"https://api.github.com/users/Dumpen/following{/other_user}","gists_url":"https://api.github.com/users/Dumpen/gists{/gist_id}","starred_url":"https://api.github.com/users/Dumpen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dumpen/subscriptions","organizations_url":"https://api.github.com/users/Dumpen/orgs","repos_url":"https://api.github.com/users/Dumpen/repos","events_url":"https://api.github.com/users/Dumpen/events{/privacy}","received_events_url":"https://api.github.com/users/Dumpen/received_events","type":"User","site_admin":false},"created_at":"2018-04-03T14:26:46Z","updated_at":"2018-04-03T14:26:46Z","author_association":"NONE","body":"This would be a greatly appreciated feature. We have a lot of shared assets that will benefit from this."}}
{"actor":{"display_login":"Dumpen"}}