alphagov/specialist-publisher — pull request #225 by tommyp (2014-08-13 09:50:13+00:00)
Title: Writer access permissions

In order to allow policy teams to write documents within specialist publisher, we would like to create permissions which provide access to editing and creating documents keeping control of publishing workflow with digital teams who have more training in this area.

This PR adds:
- publishing and withdrawing permission checks for Users
- use those permissions in controllers to disallow hitting the publish and withdraw actions
- hide the buttons in the views to the User should never be able get to those actions
- tests for the new permissions

[Ticket](https://trello.com/c/KzkpcPTy/274-distinct-writer-editor-permissions-for-specialist-publisher).