'Non staff users can\'t see the permissions summary for a page.'

def test_user_cant_view_page_permissions_summary(self):

    page = self.get_permissions_test_page()
    endpoint = self.get_admin_url(Page, 'get_permissions', page.pk)
    non_staff_user = self.get_standard_user()
    with self.login_user_context(non_staff_user):
        data = {'post': 'true'}
        response = self.client.post(endpoint, data)
        self.assertEqual(response.status_code, 302)
        self.assertRedirects(response, ('/en/admin/login/?next=%s' % endpoint))
