{"action":"created","issue":{"url":"https://api.github.com/repos/almende/vis/issues/2778","repository_url":"https://api.github.com/repos/almende/vis","labels_url":"https://api.github.com/repos/almende/vis/issues/2778/labels{/name}","comments_url":"https://api.github.com/repos/almende/vis/issues/2778/comments","events_url":"https://api.github.com/repos/almende/vis/issues/2778/events","html_url":"https://github.com/almende/vis/issues/2778","id":209799000,"number":2778,"title":"Timeline: item.editable is only boolean","user":{"login":"mokraemer","id":2962806,"avatar_url":"https://avatars.githubusercontent.com/u/2962806?v=3","gravatar_id":"","url":"https://api.github.com/users/mokraemer","html_url":"https://github.com/mokraemer","followers_url":"https://api.github.com/users/mokraemer/followers","following_url":"https://api.github.com/users/mokraemer/following{/other_user}","gists_url":"https://api.github.com/users/mokraemer/gists{/gist_id}","starred_url":"https://api.github.com/users/mokraemer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mokraemer/subscriptions","organizations_url":"https://api.github.com/users/mokraemer/orgs","repos_url":"https://api.github.com/users/mokraemer/repos","events_url":"https://api.github.com/users/mokraemer/events{/privacy}","received_events_url":"https://api.github.com/users/mokraemer/received_events","type":"User","site_admin":false},"labels":[{"id":36077695,"url":"https://api.github.com/repos/almende/vis/labels/Feature-Request","name":"Feature-Request","color":"84b6eb","default":false},{"id":82640354,"url":"https://api.github.com/repos/almende/vis/labels/Timeline","name":"Timeline","color":"0052cc","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-02-23T15:45:06Z","updated_at":"2017-02-27T21:26:30Z","closed_at":null,"body":"the item.editable option is not as finegrained as the main options.\r\n\r\nIf you generally allow editing & deleting but have a few items that cannot be deleted you can't just disable deleting by setting:\r\n\r\n{id: 1, content: 'read-only item', start: '2013-04-20', editable: {remove: false}}"},"comment":{"url":"https://api.github.com/repos/almende/vis/issues/comments/282859256","html_url":"https://github.com/almende/vis/issues/2778#issuecomment-282859256","issue_url":"https://api.github.com/repos/almende/vis/issues/2778","id":282859256,"user":{"login":"bradh","id":174642,"avatar_url":"https://avatars.githubusercontent.com/u/174642?v=3","gravatar_id":"","url":"https://api.github.com/users/bradh","html_url":"https://github.com/bradh","followers_url":"https://api.github.com/users/bradh/followers","following_url":"https://api.github.com/users/bradh/following{/other_user}","gists_url":"https://api.github.com/users/bradh/gists{/gist_id}","starred_url":"https://api.github.com/users/bradh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradh/subscriptions","organizations_url":"https://api.github.com/users/bradh/orgs","repos_url":"https://api.github.com/users/bradh/repos","events_url":"https://api.github.com/users/bradh/events{/privacy}","received_events_url":"https://api.github.com/users/bradh/received_events","type":"User","site_admin":false},"created_at":"2017-02-27T21:26:30Z","updated_at":"2017-02-27T21:26:30Z","body":"The code you are quoting is for `editable: false`, and sets everything to the boolean value.\r\n\r\nThere is support for objects (well, there will be soon), but if you do `editable: {remove: false}` the behaviour is to reset the other editable properties (i.e. `updateGroup` and `updateTime` become undefined and that means not editable (irrespective of the timeline options)."}}
{"actor":{"display_login":"bradh"}}