{"action":"created","issue":{"url":"https://api.github.com/repos/psychopy/psychopy/issues/943","labels_url":"https://api.github.com/repos/psychopy/psychopy/issues/943/labels{/name}","comments_url":"https://api.github.com/repos/psychopy/psychopy/issues/943/comments","events_url":"https://api.github.com/repos/psychopy/psychopy/issues/943/events","html_url":"https://github.com/psychopy/psychopy/issues/943","id":100192716,"number":943,"title":"Feature Request - 3rd View Option for Task Execution","user":{"login":"pntfx4","id":6784552,"avatar_url":"https://avatars.githubusercontent.com/u/6784552?v=3","gravatar_id":"","url":"https://api.github.com/users/pntfx4","html_url":"https://github.com/pntfx4","followers_url":"https://api.github.com/users/pntfx4/followers","following_url":"https://api.github.com/users/pntfx4/following{/other_user}","gists_url":"https://api.github.com/users/pntfx4/gists{/gist_id}","starred_url":"https://api.github.com/users/pntfx4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pntfx4/subscriptions","organizations_url":"https://api.github.com/users/pntfx4/orgs","repos_url":"https://api.github.com/users/pntfx4/repos","events_url":"https://api.github.com/users/pntfx4/events{/privacy}","received_events_url":"https://api.github.com/users/pntfx4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-10T23:47:50Z","updated_at":"2015-08-11T11:48:44Z","closed_at":null,"body":"A limitation of the current two view options, and something that is present in packages like eprime, is a task execution mode where the code can be run but not edited. \r\n\r\nWhen running an experiment in coder view it is possible for participants/undergrad assistants to accidentally insert characters into the code. The coder view presently pops up a prompt asking if you want to save the file prior to running when such an instance occurs, and you can use the operating system to restrict editing of a file. \r\n\r\nBut a view similar to the coder view except without the ability to change the code would enable those who use either coder or builder to more easily deploy tasks without those issues."},"comment":{"url":"https://api.github.com/repos/psychopy/psychopy/issues/comments/129848335","html_url":"https://github.com/psychopy/psychopy/issues/943#issuecomment-129848335","issue_url":"https://api.github.com/repos/psychopy/psychopy/issues/943","id":129848335,"user":{"login":"jeremygray","id":382342,"avatar_url":"https://avatars.githubusercontent.com/u/382342?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremygray","html_url":"https://github.com/jeremygray","followers_url":"https://api.github.com/users/jeremygray/followers","following_url":"https://api.github.com/users/jeremygray/following{/other_user}","gists_url":"https://api.github.com/users/jeremygray/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremygray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremygray/subscriptions","organizations_url":"https://api.github.com/users/jeremygray/orgs","repos_url":"https://api.github.com/users/jeremygray/repos","events_url":"https://api.github.com/users/jeremygray/events{/privacy}","received_events_url":"https://api.github.com/users/jeremygray/received_events","type":"User","site_admin":false},"created_at":"2015-08-11T11:48:44Z","updated_at":"2015-08-11T11:48:44Z","body":"Actually, a user-pref would work well: a check-box that disallows any edits to any file in the Coder view, but does allow opening and running. This would allow testing-room machines to be read-only for .py files. For Coder, `self.currentdoc.SetReadOnly(True)` is enough to prevent editing. Builder would be more involved (and not really needed)."}}