{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/19019","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/19019/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/19019/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/19019/events","html_url":"https://github.com/symfony/symfony/pull/19019","id":159577034,"number":19019,"title":"[Security] Log info about reloaded user only if the user objects will change","user":{"login":"pulzarraider","id":960844,"avatar_url":"https://avatars.githubusercontent.com/u/960844?v=3","gravatar_id":"","url":"https://api.github.com/users/pulzarraider","html_url":"https://github.com/pulzarraider","followers_url":"https://api.github.com/users/pulzarraider/followers","following_url":"https://api.github.com/users/pulzarraider/following{/other_user}","gists_url":"https://api.github.com/users/pulzarraider/gists{/gist_id}","starred_url":"https://api.github.com/users/pulzarraider/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pulzarraider/subscriptions","organizations_url":"https://api.github.com/users/pulzarraider/orgs","repos_url":"https://api.github.com/users/pulzarraider/repos","events_url":"https://api.github.com/users/pulzarraider/events{/privacy}","received_events_url":"https://api.github.com/users/pulzarraider/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Security","name":"Security","color":"DDDDDD"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Status:%20Needs%20Review","name":"Status: Needs Review","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-10T07:40:36Z","updated_at":"2016-06-10T09:24:04Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/19019","html_url":"https://github.com/symfony/symfony/pull/19019","diff_url":"https://github.com/symfony/symfony/pull/19019.diff","patch_url":"https://github.com/symfony/symfony/pull/19019.patch"},"body":"| Q             | A\r\n| ------------- | ---\r\n| Branch?       |  2.7, 2.8, 3.0, 3.1 + master\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | -\r\n| License       | MIT\r\n| Doc PR        | -\r\n\r\nThe log information is wrong if the user provider isn't reloaded from user provider.\r\n\r\nMy use case:\r\nI have custom user provider, that doesn't refresh user every time. User object is refreshed from database every x seconds. If the object is not refreshed from database, the object from session is used and the log information about reloaded user from provider should not occur."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/225135216","html_url":"https://github.com/symfony/symfony/pull/19019#issuecomment-225135216","issue_url":"https://api.github.com/repos/symfony/symfony/issues/19019","id":225135216,"user":{"login":"iltar","id":1754678,"avatar_url":"https://avatars.githubusercontent.com/u/1754678?v=3","gravatar_id":"","url":"https://api.github.com/users/iltar","html_url":"https://github.com/iltar","followers_url":"https://api.github.com/users/iltar/followers","following_url":"https://api.github.com/users/iltar/following{/other_user}","gists_url":"https://api.github.com/users/iltar/gists{/gist_id}","starred_url":"https://api.github.com/users/iltar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iltar/subscriptions","organizations_url":"https://api.github.com/users/iltar/orgs","repos_url":"https://api.github.com/users/iltar/repos","events_url":"https://api.github.com/users/iltar/events{/privacy}","received_events_url":"https://api.github.com/users/iltar/received_events","type":"User","site_admin":false},"created_at":"2016-06-10T09:24:04Z","updated_at":"2016-06-10T09:24:04Z","body":"The message is correct though, it was reloaded/refreshed. Whether you decide to refresh it from the database within X seconds is nothing but an implementation detail."}}
{"actor":{"display_login":"iltar"}}