'User can edit title (translation) fields if he has
global change permissions.'

def test_user_can_edit_title_fields(self):

    page = self.get_permissions_test_page()
    staff_user = self.get_staff_user_with_no_permissions()
    title = self._add_translation_to_page(page)
    endpoint = self.get_admin_url(Page, 'edit_title_fields', page.pk, title.language)
    self.add_permission(staff_user, 'change_page')
    self.add_global_permission(staff_user, can_change=True)
    with self.login_user_context(staff_user):
        data = model_to_dict(title, fields=['title'])
        data['title'] = 'permissions-de-2'
        response = self.client.post(endpoint, data)
        self.assertEqual(response.status_code, 200)
        self.assertTrue(self._translation_exists(title='permissions-de-2'))
