{"action":"created","issue":{"url":"https://api.github.com/repos/unicef/etools/issues/197","repository_url":"https://api.github.com/repos/unicef/etools","labels_url":"https://api.github.com/repos/unicef/etools/issues/197/labels{/name}","comments_url":"https://api.github.com/repos/unicef/etools/issues/197/comments","events_url":"https://api.github.com/repos/unicef/etools/issues/197/events","html_url":"https://github.com/unicef/etools/pull/197","id":184909637,"number":197,"title":"Et2f main [WIP - DO NOT MERGE]","user":{"login":"robertavram","id":5633041,"avatar_url":"https://avatars.githubusercontent.com/u/5633041?v=3","gravatar_id":"","url":"https://api.github.com/users/robertavram","html_url":"https://github.com/robertavram","followers_url":"https://api.github.com/users/robertavram/followers","following_url":"https://api.github.com/users/robertavram/following{/other_user}","gists_url":"https://api.github.com/users/robertavram/gists{/gist_id}","starred_url":"https://api.github.com/users/robertavram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertavram/subscriptions","organizations_url":"https://api.github.com/users/robertavram/orgs","repos_url":"https://api.github.com/users/robertavram/repos","events_url":"https://api.github.com/users/robertavram/events{/privacy}","received_events_url":"https://api.github.com/users/robertavram/received_events","type":"User","site_admin":false},"labels":[{"id":483026352,"url":"https://api.github.com/repos/unicef/etools/labels/WIP","name":"WIP","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"n1207n","id":3138217,"avatar_url":"https://avatars.githubusercontent.com/u/3138217?v=3","gravatar_id":"","url":"https://api.github.com/users/n1207n","html_url":"https://github.com/n1207n","followers_url":"https://api.github.com/users/n1207n/followers","following_url":"https://api.github.com/users/n1207n/following{/other_user}","gists_url":"https://api.github.com/users/n1207n/gists{/gist_id}","starred_url":"https://api.github.com/users/n1207n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1207n/subscriptions","organizations_url":"https://api.github.com/users/n1207n/orgs","repos_url":"https://api.github.com/users/n1207n/repos","events_url":"https://api.github.com/users/n1207n/events{/privacy}","received_events_url":"https://api.github.com/users/n1207n/received_events","type":"User","site_admin":false},"assignees":[{"login":"n1207n","id":3138217,"avatar_url":"https://avatars.githubusercontent.com/u/3138217?v=3","gravatar_id":"","url":"https://api.github.com/users/n1207n","html_url":"https://github.com/n1207n","followers_url":"https://api.github.com/users/n1207n/followers","following_url":"https://api.github.com/users/n1207n/following{/other_user}","gists_url":"https://api.github.com/users/n1207n/gists{/gist_id}","starred_url":"https://api.github.com/users/n1207n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1207n/subscriptions","organizations_url":"https://api.github.com/users/n1207n/orgs","repos_url":"https://api.github.com/users/n1207n/repos","events_url":"https://api.github.com/users/n1207n/events{/privacy}","received_events_url":"https://api.github.com/users/n1207n/received_events","type":"User","site_admin":false},{"login":"robertavram","id":5633041,"avatar_url":"https://avatars.githubusercontent.com/u/5633041?v=3","gravatar_id":"","url":"https://api.github.com/users/robertavram","html_url":"https://github.com/robertavram","followers_url":"https://api.github.com/users/robertavram/followers","following_url":"https://api.github.com/users/robertavram/following{/other_user}","gists_url":"https://api.github.com/users/robertavram/gists{/gist_id}","starred_url":"https://api.github.com/users/robertavram/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertavram/subscriptions","organizations_url":"https://api.github.com/users/robertavram/orgs","repos_url":"https://api.github.com/users/robertavram/repos","events_url":"https://api.github.com/users/robertavram/events{/privacy}","received_events_url":"https://api.github.com/users/robertavram/received_events","type":"User","site_admin":false}],"milestone":null,"comments":9,"created_at":"2016-10-24T17:52:00Z","updated_at":"2016-12-07T18:50:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/unicef/etools/pulls/197","html_url":"https://github.com/unicef/etools/pull/197","diff_url":"https://github.com/unicef/etools/pull/197.diff","patch_url":"https://github.com/unicef/etools/pull/197.patch"},"body":"making a pr to observe progress\n"},"comment":{"url":"https://api.github.com/repos/unicef/etools/issues/comments/265536350","html_url":"https://github.com/unicef/etools/pull/197#issuecomment-265536350","issue_url":"https://api.github.com/repos/unicef/etools/issues/197","id":265536350,"user":{"login":"n1207n","id":3138217,"avatar_url":"https://avatars.githubusercontent.com/u/3138217?v=3","gravatar_id":"","url":"https://api.github.com/users/n1207n","html_url":"https://github.com/n1207n","followers_url":"https://api.github.com/users/n1207n/followers","following_url":"https://api.github.com/users/n1207n/following{/other_user}","gists_url":"https://api.github.com/users/n1207n/gists{/gist_id}","starred_url":"https://api.github.com/users/n1207n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/n1207n/subscriptions","organizations_url":"https://api.github.com/users/n1207n/orgs","repos_url":"https://api.github.com/users/n1207n/repos","events_url":"https://api.github.com/users/n1207n/events{/privacy}","received_events_url":"https://api.github.com/users/n1207n/received_events","type":"User","site_admin":false},"created_at":"2016-12-07T18:50:54Z","updated_at":"2016-12-07T18:50:54Z","body":"@tejfel,\r\n\r\nDjango cache works fine too, as long as cache backend does not reboot or get flushed. I would stay away from storing it as json file as now Django needs to do deserialization every access.\r\n\r\nThe concern I have is when to invalidate permission matrix from the cache. Let's say hypothetically we update the permission matrix few years from now on. We have your management command to re generate or update TravelPermission models. Should we manually delete the cache when this happens?"}}
{"actor":{"display_login":"n1207n"}}