-
Notifications
You must be signed in to change notification settings - Fork 128
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
Import users through third party (Google, Slack, BambooHR etc) #346
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GDay
force-pushed
the
import-colleagues-from-google
branch
from
September 6, 2023 21:06
fb8a0f3
to
87b634d
Compare
cscheng
reviewed
Sep 9, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows an admin to create/use an integration to mass import users.
These integrations are separate from the normal ones as they do not trigger something for a specific new hire. These are only used to import users.
When someone adds an integration like this (with the
type: import_users
), then it will add a button to the colleagues page to allow an admin to import one or more users.On the import page, it will start fetching users directly from the third party API. You can configure how many pages it should fetch (when the results are paginated). You shouldn't fetch more than 5000 users in total as that will take a long time to load/create and could potentially time out. This feature is not intended to be used by very large organizations. Large organizations should use something else, like OpenID to automatically create users when someone logs in or programmatically import users (please contact me if you need help with that).
It will fetch the
first_name
,last_name
, andemail
from the specified API. These are used to create users, by default, users are saved as an "other" user, they won't receive a message about their account creation, but you can now select them to be assigned as a buddy/manager or in sequences to send messages to.In some cases, you might want to not include specific users (think of contractors or bot users that are still listed in the API as real users). In those cases you can ignore the user, by clicking on the button next to them. This will permanently ignore this user from every showing up in this list again. You can still create them manually though if you still need them to be in the list of colleagues/admins. Existing users are also be ignored from the list.
BambooHR import manifest: https://integrations.chiefonboarding.com/manifest/12
Google import manifest: https://integrations.chiefonboarding.com/manifest/11