{"action":"closed","issue":{"url":"https://api.github.com/repos/NaturalHistoryMuseum/scratchpads2/issues/129","repository_url":"https://api.github.com/repos/NaturalHistoryMuseum/scratchpads2","labels_url":"https://api.github.com/repos/NaturalHistoryMuseum/scratchpads2/issues/129/labels{/name}","comments_url":"https://api.github.com/repos/NaturalHistoryMuseum/scratchpads2/issues/129/comments","events_url":"https://api.github.com/repos/NaturalHistoryMuseum/scratchpads2/issues/129/events","html_url":"https://github.com/NaturalHistoryMuseum/scratchpads2/issues/129","id":282190913,"number":129,"title":"Implement publication architecture","user":{"login":"informatics-dev","id":34338636,"avatar_url":"https://avatars1.githubusercontent.com/u/34338636?v=4","gravatar_id":"","url":"https://api.github.com/users/informatics-dev","html_url":"https://github.com/informatics-dev","followers_url":"https://api.github.com/users/informatics-dev/followers","following_url":"https://api.github.com/users/informatics-dev/following{/other_user}","gists_url":"https://api.github.com/users/informatics-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/informatics-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/informatics-dev/subscriptions","organizations_url":"https://api.github.com/users/informatics-dev/orgs","repos_url":"https://api.github.com/users/informatics-dev/repos","events_url":"https://api.github.com/users/informatics-dev/events{/privacy}","received_events_url":"https://api.github.com/users/informatics-dev/received_events","type":"User","site_admin":false},"labels":[{"id":771404771,"url":"https://api.github.com/repos/NaturalHistoryMuseum/scratchpads2/labels/Core","name":"Core","color":"d93f0b","default":false},{"id":771405971,"url":"https://api.github.com/repos/NaturalHistoryMuseum/scratchpads2/labels/Imported%20from%20Redmine","name":"Imported from Redmine","color":"d93f0b","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-14T18:08:25Z","updated_at":"2017-12-14T18:08:25Z","closed_at":"2017-12-14T18:08:25Z","author_association":"NONE","body":" - Original ID: 186\n - Added by **Alice Heaton** on **Thu Nov 22 2012 12:02:06 GMT+0000 (GMT)**\n - Scratchpads URL: null\n\n### Description:\nWe want the publication module to handle the architecture, with relevant hooks in sub-modules to do the work.\r\n\r\nPublication module needs to handle:\r\n\r\n- Publish permissions, for each publication type ;\r\n\r\n- Track meta data for published publications (eg. publication id,\r\n  publication url, etc.). These are sub-module specific, but we can\r\n  store them as a serialized array. This means we can't search on those\r\n  fields - if this becomes an issue, we can revise this approach later ;\r\n\r\n- Publish tab. If publication has been published, call a \r\n  'hook_publication_status' for the content. \r\n  If the publication has not been publish, grab a 'publication_publish_form' \r\n  for the content ;\r\n\r\n- Offer a 'has_been_published' api to set published publication meta data\r\n  (presumably called from the publication_publish_form submit function)\n"}}
{"actor":{"display_login":"informatics-dev"}}