@add_fixtures(['test_site'])
    def test_put_as_other_user_with_site_and_permission(self):
        self.user = self._login_user(local_site=True)

        local_site = self.get_local_site(name=self.local_site_name)

        site_profile = LocalSiteProfile.objects.create(
            local_site=local_site,
            user=self.user,
            profile=self.user.get_profile())
        site_profile.permissions['reviews.can_edit_reviewrequest'] = True
        site_profile.save()

        self._test_put_as_other_user(local_site)
Helper for publisher-related API calls.
dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/tests/test_review_request_draft.py/ResourceTests.test_put_as_other_user_with_site_and_permission--crossover with--dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/pubsub/client.py/Client.publisher_api