'All staff users can see the permissions summary for a page.'

def test_user_can_view_page_permissions_summary(self):

    page = self.get_permissions_test_page()
    endpoint = self.get_admin_url(Page, 'get_permissions', page.pk)
    staff_user = self.get_staff_user_with_no_permissions()
    with self.login_user_context(staff_user):
        data = {'post': 'true'}
        response = self.client.post(endpoint, data)
        self.assertEqual(response.status_code, 200)
        self.assertContains(response, "<p>Page    doesn't    inherit    any    permissions.</p>", html=True)
