@Override
    public ContentTemplates writeDocument(final ContentTemplates document) {
        // The user will never have any doc perms on the DRR as it is not an explorer doc, thus
        // access it via the proc user (so long as use has MANAGE_POLICIES_PERMISSION)
        return securityContext.secureResult(AppPermission.MANAGE_POLICIES_PERMISSION,
                () -> securityContext.asProcessingUserResult(() -> store.writeDocument(document)));

    }
A bit of a special store that only ever holds one doc with a hard coded name.
stroom-core/src/main/java/stroom/core/receive/ContentTemplateStoreImpl.java