{"action":"opened","issue":{"url":"https://api.github.com/repos/cdupont/Nomyx/issues/101","labels_url":"https://api.github.com/repos/cdupont/Nomyx/issues/101/labels{/name}","comments_url":"https://api.github.com/repos/cdupont/Nomyx/issues/101/comments","events_url":"https://api.github.com/repos/cdupont/Nomyx/issues/101/events","html_url":"https://github.com/cdupont/Nomyx/issues/101","id":102472363,"number":101,"title":"How to update uploaded files?","user":{"login":"cdupont","id":484033,"avatar_url":"https://avatars.githubusercontent.com/u/484033?v=3","gravatar_id":"","url":"https://api.github.com/users/cdupont","html_url":"https://github.com/cdupont","followers_url":"https://api.github.com/users/cdupont/followers","following_url":"https://api.github.com/users/cdupont/following{/other_user}","gists_url":"https://api.github.com/users/cdupont/gists{/gist_id}","starred_url":"https://api.github.com/users/cdupont/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cdupont/subscriptions","organizations_url":"https://api.github.com/users/cdupont/orgs","repos_url":"https://api.github.com/users/cdupont/repos","events_url":"https://api.github.com/users/cdupont/events{/privacy}","received_events_url":"https://api.github.com/users/cdupont/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/cdupont/Nomyx/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-21T22:17:00Z","updated_at":"2015-08-21T22:17:00Z","closed_at":null,"body":"The current game allows to upload files containing helper functions and rules.\r\nOnce uploaded, those files cannot be updated: some rules inside the files could have been proposed/activated and changing the content of the file would change the behavior of the game without voting.\r\nHowever it should be possible to update those files in the process of preparing rules.\r\nSo, question is: can we detect if a file content is used in a proposed rule? If yes, overwriting the file would be forbidden. Otherwise, it would be authorised."}}