{"action":"opened","issue":{"url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/54","labels_url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/54/comments","events_url":"https://api.github.com/repos/blreams/collegefootballpick10/issues/54/events","html_url":"https://github.com/blreams/collegefootballpick10/issues/54","id":102228256,"number":54,"title":"Keep players from posting picks before commish is ready","user":{"login":"blreams","id":5880937,"avatar_url":"https://avatars.githubusercontent.com/u/5880937?v=3","gravatar_id":"","url":"https://api.github.com/users/blreams","html_url":"https://github.com/blreams","followers_url":"https://api.github.com/users/blreams/followers","following_url":"https://api.github.com/users/blreams/following{/other_user}","gists_url":"https://api.github.com/users/blreams/gists{/gist_id}","starred_url":"https://api.github.com/users/blreams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blreams/subscriptions","organizations_url":"https://api.github.com/users/blreams/orgs","repos_url":"https://api.github.com/users/blreams/repos","events_url":"https://api.github.com/users/blreams/events{/privacy}","received_events_url":"https://api.github.com/users/blreams/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/blreams/collegefootballpick10/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-20T20:21:08Z","updated_at":"2015-08-20T20:21:08Z","closed_at":null,"body":"We have multiple commissioners that co-manage the pool. Each week one of the co-commissioners is assigned as the CoW (Commissioner-O'-the-Week). That commissioner is responsible for coming up with the slate of games for the week. This is usually done in a collaborative way with the other commissioners providing input.\r\n\r\nImagine this scenario. CoW creates a slate of games on Sunday and wants to get feedback from the other commissioners. He enters the games using createweek URL and waits. In the meantime, we don't want any players making picks until the slate is solidified.\r\n\r\nWe already have a Week field called lock_picks that is a date/time field. This field is populated with the pick deadline for the week. The logic is that any player that attempts to post picks and the current time is later than the lock_picks, the post if rejected.\r\n\r\nWould it be OK, to set this field artificially in the past when a slate of games is first created? That way no players can post picks. At the time when the CoW is ready to release the hounds (ie. allow players to post picks), he can call the editweek URL and set the pick deadline which will be entered for the Week.lock_picks field."}}