Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 4.0.x] [Fixes #10217] fix ip whitelisting #10230

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

github-actions[bot]
Copy link
Contributor

Backport a3e22be from #10218

@cla-bot cla-bot bot added the cla-signed CLA Bot: community license agreement signed label Oct 31, 2022
Copy link
Member

@afabiani afabiani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The PR has security test failures

======================================================================
FAIL: test_admin_whitelisted_access_middleware (geonode.security.tests.SecurityTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/src/geonode/geonode/security/tests.py", line 2055, in test_admin_whitelisted_access_middleware
    self.assertEqual(request.user, AnonymousUser())
AssertionError: <Profile: admin> != <django.contrib.auth.models.AnonymousUser object at 0x7efd10481300>

@afabiani afabiani added this to the 4.0.2 milestone Nov 8, 2022
@afabiani afabiani merged commit 917928d into 4.0.x Nov 8, 2022
@afabiani afabiani deleted the backport-10218-to-4.0.x branch November 8, 2022 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed CLA Bot: community license agreement signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants