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

Fix/minor fixes #605

Merged
merged 6 commits into from
Feb 14, 2024
Merged

Fix/minor fixes #605

merged 6 commits into from
Feb 14, 2024

Conversation

EdoStorm96
Copy link
Contributor

This PR fixes #592, #596 and #597. The first two are just minor textual changes, so not much to see there.

#596 was a bit more work. There did not appear to be a datepicker widget, which was a significant improvement over what we had, so, despite trying some other things, we ended up sticking with the one we had ... Desiree said that she would be using it less, if the initial period would be set to 3 months.

Because of the requests she mad about access to this page, I ended up adding another group (GROUP_PO = "Privacy officer") ... It is a bit annoying that this is only really used for regulating access to this specific page, but maybe we will have some other use for it in the future. I wanted to streamline fetc_filter.py to accomodate for the many possible combinations of groups ... I made a 'base' function is_in_groups(current_user, groups) which can be used to create filters for specific groups.

Otherwise, this is pretty straightforward.

Copy link
Member

@tymees tymees left a comment

Choose a reason for hiding this comment

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

Jup, looks good.

Nice refactor of the permission checks btw :)

@EdoStorm96 EdoStorm96 merged commit bc69445 into develop Feb 14, 2024
4 checks passed
@EdoStorm96 EdoStorm96 deleted the fix/minor_fixes branch February 28, 2024 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants