Repository navigation
Auto-Invite to Military or Veteran Related Channels on Join #110
Copy link
Copy link
Open
Labels
feedback: discussionActive discussion is happening to scope this issue, set acceptance criteria, or decide to accept itActive discussion is happening to scope this issue, set acceptance criteria, or decide to accept itpriority: mediumThis is an issue that has some urgency but isn't an emergencyThis is an issue that has some urgency but isn't an emergencystatus: awaiting acceptanceIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxtype: code changeIssue requires changes to the code baseIssue requires changes to the code basetype: documentationIssue requires a change to the current documentation of the codebase or productIssue requires a change to the current documentation of the codebase or producttype: enhancementIssue enhances a feature by adding more functionalityIssue enhances a feature by adding more functionalitytype: featureIssue involves adding new functionality that doesn't currently existIssue involves adding new functionality that doesn't currently exist
Description
Cross link between back end issue 47.
The back end optionally passes the military status info to pybot, pybot has an association of military status to channel ID, and submits that with the optional parameters of the undocumented slack api call users.admin.invite called here with those slack channel ids if present.
Additional information is presented in this SO post.
A warning should be noted that this feature may be deprecated in favor of the priced (Plus/Enterprise) slack APIs in the future.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feedback: discussionActive discussion is happening to scope this issue, set acceptance criteria, or decide to accept itActive discussion is happening to scope this issue, set acceptance criteria, or decide to accept itpriority: mediumThis is an issue that has some urgency but isn't an emergencyThis is an issue that has some urgency but isn't an emergencystatus: awaiting acceptanceIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxIssue has not been accepted - it may need documentation, discussion, or a decision - the ice boxtype: code changeIssue requires changes to the code baseIssue requires changes to the code basetype: documentationIssue requires a change to the current documentation of the codebase or productIssue requires a change to the current documentation of the codebase or producttype: enhancementIssue enhances a feature by adding more functionalityIssue enhances a feature by adding more functionalitytype: featureIssue involves adding new functionality that doesn't currently existIssue involves adding new functionality that doesn't currently exist
Activity
(OperationCode#110) Adds an update method to communicate military status
JudsonStevens commentedon Aug 18, 2021
@kylemh @hollomancer - I'm missing some context here; Aaron and I think there has been some discussion around putting this into the initial form users fill out to even get the first invitation. Is that a viable route or do we still want to prioritize this and the related backend issue?
kylemh commentedon Aug 19, 2021
Out of the loop as well. We collect that info during reg but don't verify
JudsonStevens commentedon Jan 2, 2022
Alright - if we have that information then I think we can work this one similar to the zip code one - we pull that information from the backend and for current users send them a DM with the relevant channels for their branch of service. For new users we auto-invite them to the relevant channels as well. The
adminnamespace for the Slack Web API has been moved to Enterprise only so we can use theconversations.inviteAPI call.[-]Extend pybot API for user invitations so that military status is conveyed.[/-][+]Invite users to the appropriate veteran or military related channels on join depending on military status[/+][-]Invite users to the appropriate veteran or military related channels on join depending on military status[/-][+]Auto-Invite to Military or Veteran Related Channels on Join[/+]