alphagov/transition — pull request #61 by jamiecobbett (2013-11-08 16:14:32+00:00)
Title: Organisation-based access control Mk2

We want to prevent an organisation's mappings being edited by anyone who doesn't have responsibility for the mappings of that organisation. You can edit the mappings for an organisation if:
* the user is a Transition app "admin" according to Signon
* the user is a member of the organisation
* the user is a member of the parent organisation

People with the "admin" permission will include GDS Transition Managers, GDS content editors and others at GDS. Anyone we want to have the power to fix broken mappings.