{"action":"created","issue":{"url":"https://api.github.com/repos/sul-dlss/argo/issues/622","repository_url":"https://api.github.com/repos/sul-dlss/argo","labels_url":"https://api.github.com/repos/sul-dlss/argo/issues/622/labels{/name}","comments_url":"https://api.github.com/repos/sul-dlss/argo/issues/622/comments","events_url":"https://api.github.com/repos/sul-dlss/argo/issues/622/events","html_url":"https://github.com/sul-dlss/argo/issues/622","id":137666028,"number":622,"title":"embargo_update must be an authorized action","user":{"login":"darrenleeweber","id":240623,"avatar_url":"https://avatars.githubusercontent.com/u/240623?v=3","gravatar_id":"","url":"https://api.github.com/users/darrenleeweber","html_url":"https://github.com/darrenleeweber","followers_url":"https://api.github.com/users/darrenleeweber/followers","following_url":"https://api.github.com/users/darrenleeweber/following{/other_user}","gists_url":"https://api.github.com/users/darrenleeweber/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenleeweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenleeweber/subscriptions","organizations_url":"https://api.github.com/users/darrenleeweber/orgs","repos_url":"https://api.github.com/users/darrenleeweber/repos","events_url":"https://api.github.com/users/darrenleeweber/events{/privacy}","received_events_url":"https://api.github.com/users/darrenleeweber/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/sul-dlss/argo/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-01T19:38:44Z","updated_at":"2016-03-02T01:38:37Z","closed_at":null,"body":"Issue to track and ensure that `ItemsController#embargo_update` is included in a `before_action` for authorized access so that it short-circuits all the `after_action` activity when it's not authorized (otherwise it will save and reindex unnecessarily)."},"comment":{"url":"https://api.github.com/repos/sul-dlss/argo/issues/comments/191012573","html_url":"https://github.com/sul-dlss/argo/issues/622#issuecomment-191012573","issue_url":"https://api.github.com/repos/sul-dlss/argo/issues/622","id":191012573,"user":{"login":"darrenleeweber","id":240623,"avatar_url":"https://avatars.githubusercontent.com/u/240623?v=3","gravatar_id":"","url":"https://api.github.com/users/darrenleeweber","html_url":"https://github.com/darrenleeweber","followers_url":"https://api.github.com/users/darrenleeweber/followers","following_url":"https://api.github.com/users/darrenleeweber/following{/other_user}","gists_url":"https://api.github.com/users/darrenleeweber/gists{/gist_id}","starred_url":"https://api.github.com/users/darrenleeweber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darrenleeweber/subscriptions","organizations_url":"https://api.github.com/users/darrenleeweber/orgs","repos_url":"https://api.github.com/users/darrenleeweber/repos","events_url":"https://api.github.com/users/darrenleeweber/events{/privacy}","received_events_url":"https://api.github.com/users/darrenleeweber/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T01:38:37Z","updated_at":"2016-03-02T01:38:37Z","body":"@LynnMcRae - is it really important that ONLY `is_admin` can update embargo?  Is it OK for anyone with a role allowed to manage the item content to update the embargo too?"}}