Link to admin interface for staff users. Closes #529#582
Merged
regulartim merged 2 commits intodevelopfrom Oct 3, 2025
Merged
Conversation
mlodic
approved these changes
Oct 3, 2025
regulartim
added a commit
that referenced
this pull request
Oct 3, 2025
* Include mass scanners in advanced API by default. Closes #580 (#581) * Partly revert "added mass scanner exclusion as default" This reverts commit f953887. * adapt tests * add "tor exit nodes" to default excludes * add test case for tor exit node inclusion * add test case for tor exit node inclusion (ii) * fix syntax * rename method * Upgrade Django to 5.2. Closes #502 (#579) * bump django-rest-email-auth * bump django to 5.2 * bump postgres to 18 (this requires manual manual intervention when upgrading GreedyBear) * Link to admin interface for staff users. Closes #529 (#582) * remove restriction to only show link to superusers * fix indentation * bump 2.0.0 * adapt CI
anarghya-12
pushed a commit
to anarghya-12/GreedyBear
that referenced
this pull request
Feb 13, 2026
* Include mass scanners in advanced API by default. Closes intelowlproject#580 (intelowlproject#581) * Partly revert "added mass scanner exclusion as default" This reverts commit f953887. * adapt tests * add "tor exit nodes" to default excludes * add test case for tor exit node inclusion * add test case for tor exit node inclusion (ii) * fix syntax * rename method * Upgrade Django to 5.2. Closes intelowlproject#502 (intelowlproject#579) * bump django-rest-email-auth * bump django to 5.2 * bump postgres to 18 (this requires manual manual intervention when upgrading GreedyBear) * Link to admin interface for staff users. Closes intelowlproject#529 (intelowlproject#582) * remove restriction to only show link to superusers * fix indentation * bump 2.0.0 * adapt CI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
For non-superusers, the user menu in the top right corner does not show a link to the Django admin interface. However staff users should see it. So I just removed the restriction to only show it to superusers altogether. Partly because I don't know anything about JS. :D
Related issues
Closes #529
Type of change
Please delete options that are not relevant.
Checklist
develop.Black,Flake,Isort) gave 0 errors. If you have correctly installed pre-commit, it does these checks and adjustments on your behalf.Important Rules