CUL-DigitalServices/avocet-hilary — pull request #47 by timdegroote (2014-07-10 09:40:56+00:00)
Title: Embargo functionality

* Allows publications to be set under an embargo using the `underEmbargo` and `embargoDate` fields
* When a new publication is created `underEmbargo` defaults to `true` and `embargoDate` to `null`
* Moved the publication validation functionality from the `oae-tickets` to the `oae-publication` module
* Allows publication funders and authors to be updated through the `updatePublication` endpoint
* Augments a publication with user permissions when a publication is fetched e.g. `isAdmin`, `isAuthor`, etc