def after_fork(self, node, fork, user, save=True):
        clone, _ = super(DropboxNodeSettings, self).after_fork(
            node=node, fork=fork, user=user, save=False
        )

        if self.user_settings and self.user_settings.owner == user:
            clone.user_settings = self.user_settings
            message = (
                'Dropbox authorization copied to forked {cat}.'
            ).format(
                cat=markupsafe.escape(fork.project_or_component)
            )
        else:
            message = (
                u'Dropbox authorization not copied to forked {cat}. You may '
                u'authorize this fork on the <u><a href="{url}">Settings</a></u> '
                u'page.'
            ).format(
                url=fork.web_url_for('node_setting'),
                cat=markupsafe.escape(fork.project_or_component)
            )
        if save:
            clone.save()
        return clone, message
After forking, copy user settings if the user is the one who authorized
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/dropbox/model.py/DropboxNodeSettings.after_fork