-
Notifications
You must be signed in to change notification settings - Fork 26
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
[remove-template-fields] Some required changes #1649
Comments
@r-peschke any opinions? |
Yes, but in the first phase we just want to remove the template fields |
Yes, but I would argue that these changes are all part of it. Let's talk about it. |
This fields and also user.vote_delegated_vote_ids (renamed to user.delegated_vote_ids) should remain in user-collection, because they handle the user-object on the other side of the relation. Luisa confirmed that they are not used in the client/autoupdate-service.
They are, but we are using the meeting_user - methods also for the meeting-dependent part of user.create/update
|
The reverse relations are meeting-specific, so these fields belong in the
Ok, but then we need to integrate the checks somewhere else. Current situation is that we removed some checks from our code without any replacement, which might lead to errors. I would need to have a look at the checks to determine which errors specificly, but that's not really the point here. |
meeting_user
should bundle all information about the user in this meeting, so the following fields should also be moved to there, since they are meeting-specific: (The first 3 were previously also template fields, the latter should have been one, if we were not in the process of removing them) -> leaving them inuser
poll_voted_ids
option_ids
vote_ids
poll_candidate_ids
create_user_for_meeting
should be adjusted in the tests to automatically create a meeting user. Update tests which use it. (made via set_user_groups Move template field group_ids into meeting_user #1563)user
methods (e.g.check_meeting_and_users
from theuser_mixin
) must be added to themeeting_user
.projector/used_as_default_*_in_meeting_id
should be renamed toused_as_default_projector_*_in_meeting_id
or, even more verbose,used_as_default_projector_for_*_in_meeting_id
to better reflect their meaning (e.g.used_as_default_polls_in_meeting_id
confuses at first sight in the projector model - how can a projector be a default poll?)meeting_user/submitted_motion_ids
tomotion_submitter_ids
to better reflect the meaning.required: false
from themodels.yml
- although this may also be done in Cleanupmodels.yml
#1648The text was updated successfully, but these errors were encountered: