-
Notifications
You must be signed in to change notification settings - Fork 8
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
✨ Add Community relation to Pools #10364
Comments
Status: Error
|
@tristan-orourke please break this up |
If the Conflict |
Okay, sorry for the confusion. The screenshot is inaccurate. We will leave the team select input as is right now, and simply add a Community select. There is no relation between this Team and this Community! This Team select will be removed in the cleanup ticket. |
Updated screenshot |
✨ Feature
Ensure all Pools, old and new, are associated with a Community.
🕵️ Details
Create a relationship between Pool and Community - a required (ie non-nullable)
community_id
field on the Pool table. For existing entities in the database, assign a community the same way we did for Requests (#10331).Community id becomes a required field on the create Pool mutation.
At the same time, remove the team_id field in the mutation input. Validation must ensure that the user has permission to create a pool in this community (create-any-pool or create-team-pool).Replace the team dropdownIn addition to the team dropdown on the Create Pool page, add a community dropdown. The communities that appear depend on the users roles: platform admins and the legacy roles (community admin and request responder) see all Communities. Users without those roles, but with Community Admin or Community Recruiter roles, can see the communities they are part of. (Basically, avoid inputs which will fail on the backend.)🧑🎨 Designer
@Jerryescandon
📸 Screenshot
🙋♀️ Proposed Implementation
A lot of this work will just involve updating policies so that the new roles can interact with the appropriate queries and mutations.
🌎 Localization
(optional) Provide any new copy along with translations available.
✅ Acceptance Criteria
A set of assumptions which, when tested, verify that the feature was properly implemented.
Replace team withAdd community in createPool mutation and validation. Policy must check that user permission to create-any-pool or create-team-pool in this Community's team.Replace team with community inputadd it in beside, leave team, in Create Pool form.Users only see Communities in the dropdown they are will be allowed to use according to validation.🛑 Blockers
Issues which must be completed before this one.
Blocked By
🚚 Deployment
Run sync-roles script.
The text was updated successfully, but these errors were encountered: