66391774 Add new scoping mechanism for context implications. Add a migration

that ensures that audit contexts have the required reference to the relatedobject.