add riceathon scenario#203
Conversation
|
@24c02 Any changes? |
There was a problem hiding this comment.
Pull request overview
Adds a new “Riceathon” onboarding scenario and introduces an opt-in mechanism to automatically promote users to full Slack members upon identity verification approval.
Changes:
- Add
riceathonto the shared Slack channel config. - Introduce
promote_on_verificationscenario flag (defaultfalse) and a newOnboardingScenarios::Riceathonscenario opting in. - Add an auto-promotion hook in backend verification approval to enqueue Slack promotion.
Reviewed changes
Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| config/slack_channels.yml | Adds the riceathon channel ID so scenarios can reference it via chans(...). |
| app/models/onboarding_scenarios/riceathon.rb | New onboarding scenario defining fields, Slack channels, and opting into verification-based promotion. |
| app/models/onboarding_scenarios/base.rb | Adds the promote_on_verification flag with a default of false. |
| app/controllers/backend/verifications_controller.rb | Enqueues an auto-promotion job when a verification is approved for opted-in scenarios. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
can you explain the rationale for promote_on_verification more |
|
tutorial agree seems like a questionable way to do it |
this program will be advertised on very public places with peiople of all age ranges, so i dont want people to have full slack access save for riceahton help chan and idv help until verified |
any sugestions on how else i should? |
|
look at what tutorialagreejob does? |
hows this? |
0c6f5c9 to
afe0b63
Compare
|
cc @maxwofford since ur the sponsor |
No description provided.