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

890 room duty committee rights #891

Merged
merged 17 commits into from
Sep 17, 2024
Merged

Conversation

bramvandartel
Copy link
Member

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 the scripts directory to regenerate the compiled.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

@bramvandartel bramvandartel linked an issue Sep 9, 2024 that may be closed by this pull request
Copy link
Contributor

@SimplyPancake SimplyPancake left a 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

Copy link
Member

@Kurocon Kurocon left a 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.

amelie/members/utils.py Outdated Show resolved Hide resolved
amelie/activities/views.py Outdated Show resolved Hide resolved
SimplyPancake and others added 2 commits September 10, 2024 20:47
…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.
@Kurocon Kurocon force-pushed the 890-room-duty-committee-rights branch from 4dafb60 to 5592657 Compare September 16, 2024 16:34
@bramvandartel bramvandartel merged commit 1cb7a8c into main Sep 17, 2024
6 checks passed
@bramvandartel bramvandartel deleted the 890-room-duty-committee-rights branch September 17, 2024 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Room duty committee rights
3 participants