alphagov/transition — pull request #245 by issyl0 (2014-04-04 11:11:14+00:00)
Title: Allow users to edit mappings that are included on another organisation's site

- The previous access control rules didn't allow users from for example the Government Office for Science to edit their mappings on `bis.gov.uk`, despite the fact they had a site within `bis.gov.uk/go-science`.
- Now, they can edit their mappings. This configuration is done by adding an `extra_organisation_slugs` list to a `site.yml` file, eg the following for BIS:
```
extra_organisation_slugs:
- government-office-for-science
```
- Bouncer still needs to have an organisation as the primary owner of a site in order to handle the error pages, as do some pieces of Transition, so we've left the `organisation_id` foreign key on a site so that we don't break anything or have to make huge changes to unrelated functionality.
- We're finishing some work on Redirector to check that the `extra_organisation_slugs` also exist in Whitehall. There'll be a separate pull request on Redirector when that is complete.

(Paired with @jennyd on this.)