-
Notifications
You must be signed in to change notification settings - Fork 5
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
890 room duty committee rights #891
Conversation
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.
Front-end and backend correctly check if a person is in the room duty committee.
Added small util to reduce code duplication
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 apart from two comments.
Also, sure you've thought about this, but members of the new Room duty committee will have to sign an NDA before they are added, due to access to personal details of members.
…or in favor of directly using the `require_committee` decorator, make roomduty checks that use the RequireCommitteeMixin use the setting `ROOM_DUTY_ABBREVIATION`. Refactor `require_committee` decorator, `RequireCommitteeMixin` mixin and `RequireStrictCommitteeMixin` mixin to use the new Person.is_in_committee method.
…e `Person.is_in_committee` where possible.
4dafb60
to
5592657
Compare
Please add the following information to your pull request:
Please describe what your PR is fixing
Fix issue
Concretely, which issues does your PR solve? (Please reference them by typing
Fixes/References Inter-Actief/amelie#<issue_id>
)Fixes issue #890
Does your PR change how we process personal data, impact our privacy document, or modify (one of) our data export(s)?
no
Does your PR include any django migrations?
no
Does your PR include the proper translations (did you add translations for new/modified strings)?
no, my PR does not include translations
Does your PR include CSS changes (and did you run the
compile_css.sh
script in thescripts
directory to regenerate thecompiled.css
file)?no, my PR does not include CSS changes
Does your PR need external actions by for example the System Administrators? (Think about new pip packages, new (local) settings, a new regular task or cronjob, new management commands, etc.)?
no
Did you properly test your PR before submitting it?
yes