buildkite / feedback

Got feedback? Please let us know!
https://buildkite.com
25 stars 24 forks source link

Inactive Users Report or API #292

Open lox opened 6 years ago

lox commented 6 years ago

It would be great to have an AP or a report that allowed Organization Admins to determine the last time a user had interacted with the Organization so that inactive accounts could be disabled.

At present this is difficult to expose because we don't have an API for user metadata that relates to an Organization. Users can be part of multiple organizations, so simply exposing a last_login on a user would leak private / cross-organization information.

KevinGrandon commented 6 years ago

IMO slack has a pretty good model for this. They will automatically detect inactive users (no activity within two weeks), and deactivate their accounts, meaning you won't be billed for them. Perhaps a similar model, where no activity, logins, or API events from a user within a month means they get deactivated.

https://get.slack.help/hc/en-us/articles/218915077#how-inactive-and-deactivated-accounts-affect-billing

lox commented 6 years ago

Yup, absolutely. We've discussed that model a lot and philosophically all agree with it @KevinGrandon. This would be the first step towards that model.