-
Notifications
You must be signed in to change notification settings - Fork 6
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
[#1657] add options to hide categories and search from anonymous users #732
Conversation
9620d41
to
57d15fe
Compare
- added model field (bool) for hiding categories - added `LoginMaybeRequiredMixin` to categories views in order to conditionally restrict access to authenticated users - refactored rendering of nav bar (removed inclusion tags)
57d15fe
to
02fed6d
Compare
Codecov Report
@@ Coverage Diff @@
## develop #732 +/- ##
===========================================
+ Coverage 96.24% 96.27% +0.02%
===========================================
Files 669 674 +5
Lines 23860 24007 +147
===========================================
+ Hits 22965 23113 +148
+ Misses 895 894 -1
... and 5 files with indirect coverage changes 📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, however considering the refactor is a bit bigger than only the requested change @jiromaykin should also take a look (and he's back tomorrow)
I will check it out and will need to update everything locally and see what I can do here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All else is looking good, apart from the spellign mistakes; so when logged all have become invisible, both on mobile as well as on desktop.
src/open_inwoner/configurations/migrations/0048_auto_20230816_1255.py
Outdated
Show resolved
Hide resolved
02fed6d
to
fce4c49
Compare
LoginMaybeRequiredMixin
to categories and search views in order to conditionally restrict access to authenticated usersTaiga: #1657