When searching for users, also include integration_id in the list of fields that are searched

This idea has been developed and deployed to Canvas

Currently when you search for a Canvas user via the Accounts > People page or via the REST API, the system tries to match the query against the name, email, user_id, login_id and sis_id fields. We would like to also be able to find users who have an integration_id that matches the search query. 

The ability to search for users based on sis_id is based on the read_sis/manage_sis permissions. Since the visibility of the integration_id is governed by the read_sis permission elsewhere in Canvas, it seems reasonable to also use the read_sis/manage_sis permission to determine whether or not the integration_id is searchable. 

This seems like it would require a fairly small change to user_search.rb.

The use-case for this idea has to do with integrating Canvas with a third-party service; it needs to be able to look up Canvas users by their integration ID. 

11 Comments
Stef_retired
Instructure Alumni
Instructure Alumni
Status changed to: Open
 
robotcars
Community Champion

+1!

rwoodard
Community Explorer

This would help me out enormously with specific integrations,  please make this happen. 

fosterd
Community Member

+1

KristinL
Community Team
Community Team
Status changed to: On Beta
  Comments from Instructure

 

For more information, please read through the Canvas Deploy Notes (2022-11-23)

Mikee
Community Participant

❤️ Yay - this looks like a good one to get in; Will it also be in the API behaviours, or only UI fields?

ColinMurtaugh
Community Champion
Author

@Mikee this works in the API as well.

Mikee
Community Participant

Thanks for confirming @ColinMurtaugh 😊

KristinL
Community Team
Community Team
Status changed to: Completed
Comments from Instructure

 

For more information, please read through the Canvas Deploy Notes (2022-12-07) 

KristinL
Community Team
Community Team
Status changed to: New