{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/1224","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1224/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1224/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1224/events","html_url":"https://github.com/WordPress/gutenberg/issues/1224","id":236650420,"number":1224,"title":"How should we handle global block settings?","user":{"login":"ataylorme","id":2133004,"avatar_url":"https://avatars1.githubusercontent.com/u/2133004?v=3","gravatar_id":"","url":"https://api.github.com/users/ataylorme","html_url":"https://github.com/ataylorme","followers_url":"https://api.github.com/users/ataylorme/followers","following_url":"https://api.github.com/users/ataylorme/following{/other_user}","gists_url":"https://api.github.com/users/ataylorme/gists{/gist_id}","starred_url":"https://api.github.com/users/ataylorme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataylorme/subscriptions","organizations_url":"https://api.github.com/users/ataylorme/orgs","repos_url":"https://api.github.com/users/ataylorme/repos","events_url":"https://api.github.com/users/ataylorme/events{/privacy}","received_events_url":"https://api.github.com/users/ataylorme/received_events","type":"User","site_admin":false},"labels":[{"id":570263070,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/Blocks","name":"Blocks","color":"fbca04","default":false},{"id":531680828,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/[Type]%20Question","name":"[Type] Question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-06-17T09:30:36Z","updated_at":"2017-06-17T14:44:39Z","closed_at":null,"body":"There are situations where a setting should be applied to all blocks of a certain type rather than each individual block. Some examples are an API key, theme (e.g. dark/light), etc.\r\n\r\nWhat is the best way to handle a global setting for all blocks of a certain type?"},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/309219259","html_url":"https://github.com/WordPress/gutenberg/issues/1224#issuecomment-309219259","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/1224","id":309219259,"user":{"login":"ataylorme","id":2133004,"avatar_url":"https://avatars1.githubusercontent.com/u/2133004?v=3","gravatar_id":"","url":"https://api.github.com/users/ataylorme","html_url":"https://github.com/ataylorme","followers_url":"https://api.github.com/users/ataylorme/followers","following_url":"https://api.github.com/users/ataylorme/following{/other_user}","gists_url":"https://api.github.com/users/ataylorme/gists{/gist_id}","starred_url":"https://api.github.com/users/ataylorme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ataylorme/subscriptions","organizations_url":"https://api.github.com/users/ataylorme/orgs","repos_url":"https://api.github.com/users/ataylorme/repos","events_url":"https://api.github.com/users/ataylorme/events{/privacy}","received_events_url":"https://api.github.com/users/ataylorme/received_events","type":"User","site_admin":false},"created_at":"2017-06-17T14:44:39Z","updated_at":"2017-06-17T14:44:39Z","body":"> One thought I had was global block settings being right under other inspector controls, with their own heading. When edited they would apply to all blocks. In the API key example rather than having to go elsewhere if a user needs to update their API key to cycle it, etc. they can do so quickly and easily.\r\n\r\nJust to clarify this could be restricted by user roles as well, for example being only open to `editor` or `admin` by default and editable via a filter."}}
{"actor":{"display_login":"ataylorme"}}