Organizations
@ mention of reviewers`
@ckcollab`` @gibsonbailey`
A brief description of the purpose of the changes contained in this PR.
Create Organizations
Issues this PR resolves
Resolves #502 (closed)
-
Is_organization? Will be resolved be having Users and Organizations separate objects -
Organization Model -
Name -
Photo -
Description -
Other fields from User Model that makes sense
-
-
Permissions -
Views -
Create -
Detail -
Organization Details -
User List -
Adaptive UI styling
-
-
Edit/Update -
Organization Details -
User Managament
-
-
-
User Invite System -
Invite accept by UUID token -
Search and invite user modal -
Email User Invite with accept link -
Make sure people can unsubscribe from invite emails @ckcollab
-
-
Navagation -
Current Members -
Non-editable list of all previous members (exists in the database, but no front-end view) -
Notification Page to turn off email types -
Choice of competitions an organization participated in to show on profile. -
The ability for each user to opt-in/out for emails related to the organization -
The ability to participate on a competition as your organization if you are a participant or higher -
BONUS: Ability to create/edit competition as organization -- or at least make a nice spec/issue for doing this in the future
A checklist for hand testing
-
Can Create an Organization -
Test all fields for form validation
-
-
Cannot create another Organization with the same Name or Email -
Can Edit an Organization -
Can Invite another User (Email sent should show up in django logs for these next steps) -
Invited Users cannot be promoted before invite is accepted -
Cannot accept an invite for another user -
Can accept an invite as the user -
Opening an invite link that a user has already accepted will redirect them to the organization -
Organization member at the Member
level cannot...-
Edit the Organization -
Submit a submission as the competition
-
-
Organization member at the Participant
level can submit as the organization -
Organization member at the Manager
level can edit the competition -
The Owner of the Organization cannot be demoted -
Organizations a User is a member of show up on the user profile page. -
Turning off notifications for invites on the notification page will stop invite emails.
Misc. comments
...
Checklist
-
Code review by me -
Hand tested by me -
I'm proud of my work -
Code review by reviewer -
Hand tested by reviewer -
Ready to merge