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

Modify GroupMembership view functions to support end_date field #90

Closed
cc-a opened this issue Jan 13, 2025 · 0 comments · Fixed by #120
Closed

Modify GroupMembership view functions to support end_date field #90

cc-a opened this issue Jan 13, 2025 · 0 comments · Fixed by #120
Assignees

Comments

@cc-a
Copy link
Collaborator

cc-a commented Jan 13, 2025

The main views that require updating are send_group_invite and accept_group_invite form.

For send_group_invite:

  • Update GroupMembershipForm to include a DurationField specifying the length of the new users membership - use an arbitrary fixed length for now.

For accept_group_invite:

  • Use the end date value decoded from the token when creating the GroupMembership instance.

Slightly tweaks to the above may be required depending on progress in #76 which will add at least one more view function into the user sign up process.

This was referenced Jan 13, 2025
@jamesturner246 jamesturner246 self-assigned this Jan 23, 2025
@cc-a cc-a closed this as completed in #120 Feb 6, 2025
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 a pull request may close this issue.

2 participants