{"action":"created","issue":{"url":"https://api.github.com/repos/18F/tock/issues/580","repository_url":"https://api.github.com/repos/18F/tock","labels_url":"https://api.github.com/repos/18F/tock/issues/580/labels{/name}","comments_url":"https://api.github.com/repos/18F/tock/issues/580/comments","events_url":"https://api.github.com/repos/18F/tock/issues/580/events","html_url":"https://github.com/18F/tock/pull/580","id":191754086,"number":580,"title":"Allow edit access to prior reporting period","user":{"login":"batemapf","id":7645362,"avatar_url":"https://avatars.githubusercontent.com/u/7645362?v=3","gravatar_id":"","url":"https://api.github.com/users/batemapf","html_url":"https://github.com/batemapf","followers_url":"https://api.github.com/users/batemapf/followers","following_url":"https://api.github.com/users/batemapf/following{/other_user}","gists_url":"https://api.github.com/users/batemapf/gists{/gist_id}","starred_url":"https://api.github.com/users/batemapf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batemapf/subscriptions","organizations_url":"https://api.github.com/users/batemapf/orgs","repos_url":"https://api.github.com/users/batemapf/repos","events_url":"https://api.github.com/users/batemapf/events{/privacy}","received_events_url":"https://api.github.com/users/batemapf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"annalee","id":1122643,"avatar_url":"https://avatars.githubusercontent.com/u/1122643?v=3","gravatar_id":"","url":"https://api.github.com/users/annalee","html_url":"https://github.com/annalee","followers_url":"https://api.github.com/users/annalee/followers","following_url":"https://api.github.com/users/annalee/following{/other_user}","gists_url":"https://api.github.com/users/annalee/gists{/gist_id}","starred_url":"https://api.github.com/users/annalee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annalee/subscriptions","organizations_url":"https://api.github.com/users/annalee/orgs","repos_url":"https://api.github.com/users/annalee/repos","events_url":"https://api.github.com/users/annalee/events{/privacy}","received_events_url":"https://api.github.com/users/annalee/received_events","type":"User","site_admin":false},"assignees":[{"login":"annalee","id":1122643,"avatar_url":"https://avatars.githubusercontent.com/u/1122643?v=3","gravatar_id":"","url":"https://api.github.com/users/annalee","html_url":"https://github.com/annalee","followers_url":"https://api.github.com/users/annalee/followers","following_url":"https://api.github.com/users/annalee/following{/other_user}","gists_url":"https://api.github.com/users/annalee/gists{/gist_id}","starred_url":"https://api.github.com/users/annalee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annalee/subscriptions","organizations_url":"https://api.github.com/users/annalee/orgs","repos_url":"https://api.github.com/users/annalee/repos","events_url":"https://api.github.com/users/annalee/events{/privacy}","received_events_url":"https://api.github.com/users/annalee/received_events","type":"User","site_admin":false},{"login":"maya","id":5249443,"avatar_url":"https://avatars.githubusercontent.com/u/5249443?v=3","gravatar_id":"","url":"https://api.github.com/users/maya","html_url":"https://github.com/maya","followers_url":"https://api.github.com/users/maya/followers","following_url":"https://api.github.com/users/maya/following{/other_user}","gists_url":"https://api.github.com/users/maya/gists{/gist_id}","starred_url":"https://api.github.com/users/maya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maya/subscriptions","organizations_url":"https://api.github.com/users/maya/orgs","repos_url":"https://api.github.com/users/maya/repos","events_url":"https://api.github.com/users/maya/events{/privacy}","received_events_url":"https://api.github.com/users/maya/received_events","type":"User","site_admin":false}],"milestone":null,"comments":10,"created_at":"2016-11-25T18:58:38Z","updated_at":"2016-12-05T22:23:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/18F/tock/pulls/580","html_url":"https://github.com/18F/tock/pull/580","diff_url":"https://github.com/18F/tock/pull/580.diff","patch_url":"https://github.com/18F/tock/pull/580.patch"},"body":"## Description\r\n\r\nGives the user access to a limited number of previously submitted timecards for editing (requested in #572). Typically, only one previously submitted timecard will be available; however, when a new reporting period has been created but has not yet begun, the user has access to the \"current\" reporting period, as well as the prior week. The objective is to ensure the user always has access to the current week's timecard for editing, as well as the prior week's. \r\n\r\nIn addition, this change addresses #401 by limiting access to the timecard form based on the reporting period. A user who tries to access the timecard form for a reporting period that is earlier than the previous reporting period will be redirected to their submitted data. The exception is if the user never submitted a timecard for that period. In that case, the user will be directed to their form for submission. This should only happen in instances where the user is at least two weeks late in submitting their time.\r\n\r\nFurther tweaks were made to the user's initial view, including adding in links to previous timecards (view-only) and displaying a notification that the user is up to date if all available timecard forms have been filed.\r\n\r\n## Additional information\r\n\r\nScreen shot of changes:\r\n\r\n----\r\n\r\n<img width=\"997\" alt=\"screen shot 2016-11-25 at 1 48 33 pm\" src=\"https://cloud.githubusercontent.com/assets/7645362/20633621/d6cb0af6-b316-11e6-954f-673233a2ad97.png\">\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/18F/tock/issues/comments/264997236","html_url":"https://github.com/18F/tock/pull/580#issuecomment-264997236","issue_url":"https://api.github.com/repos/18F/tock/issues/580","id":264997236,"user":{"login":"batemapf","id":7645362,"avatar_url":"https://avatars.githubusercontent.com/u/7645362?v=3","gravatar_id":"","url":"https://api.github.com/users/batemapf","html_url":"https://github.com/batemapf","followers_url":"https://api.github.com/users/batemapf/followers","following_url":"https://api.github.com/users/batemapf/following{/other_user}","gists_url":"https://api.github.com/users/batemapf/gists{/gist_id}","starred_url":"https://api.github.com/users/batemapf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/batemapf/subscriptions","organizations_url":"https://api.github.com/users/batemapf/orgs","repos_url":"https://api.github.com/users/batemapf/repos","events_url":"https://api.github.com/users/batemapf/events{/privacy}","received_events_url":"https://api.github.com/users/batemapf/received_events","type":"User","site_admin":false},"created_at":"2016-12-05T22:23:30Z","updated_at":"2016-12-05T22:23:30Z","body":"@annalee unassigning you for now since we still have further to go on this one."}}
{"actor":{"display_login":"batemapf"}}