Skip to content
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

For Dataverse users, record (1) date created, (2) last login, and (3) lastApiUse #3246

Closed
raprasad opened this issue Aug 8, 2016 · 5 comments
Assignees
Labels
Component: Code Infrastructure formerly "Feature: Code Infrastructure" Feature: Account & User Info Type: Feature a feature request

Comments

@raprasad
Copy link
Contributor

raprasad commented Aug 8, 2016

Add the following timestamp columns to the authenticated user table:

  • authenticateduser.created
  • authenticateduser.last_login (this may already be covered by 'modificationtime')
  • authenticateduser.last_confirmed (possible - @scolapasta's discretion)

To supply basic metrics to stakeholders and dev. team including:

  • how many users are added to the system during specific time periods (e.g. users added per month)
  • how many people log in to the system (e.g. each month, each day, etc.)
  • how many accounts are "inactive" -- e.g. haven't logged in for extended periods of time
  • when does activity spike for logged in users, etc
@pdurbin
Copy link
Member

pdurbin commented Aug 15, 2016

Related: #2470

@raprasad
Copy link
Contributor Author

  • do we want to record lastlogin info for API calls?
    • e.g. file: AbstractAPIBean.java method: findAuthenticatedUserOrDie

@pdurbin pdurbin assigned bsilverstein95 and unassigned pdurbin and scolapasta Jun 21, 2017
pdurbin referenced this issue Jun 22, 2017
- Put email addresses throught the same "find single value" logic
  originally developed in #1608 for multiple first and last names.
- Add `@ValidateEmail` to the "email" field on AuthenticatedUser to
  match BuiltinUser.
- Add null check added to EmailValidator to make it testable.
- Add `INVALID_EMAIL` and `MISSING_REQUIRED_ATTR` modes for Shib testing
  in dev.
- Remove red warning when TestShib doesn't provide "mail" attribute.
- Catch authSvc.createAuthenticatedUser exceptions and handle errors
  better.
- Reformat code (getPrettyFacesHomePageString seems ok).
@pdurbin
Copy link
Member

pdurbin commented Jun 25, 2017

@bsilverstein95 is the code your writing a fix for #2470? Should we close that issue as a duplicate of this one?

@pdurbin
Copy link
Member

pdurbin commented Jun 25, 2017

@bsilverstein95 same question for issue #2485.

@bsilverstein95
Copy link
Contributor

@pdurbin For #2470 yes, my code for this issue covers it with addition of authenticateduser.createdtime; as for #2485 (which is already closed now!) it effectively covers that as well except I haven't modified the builtinuser table.

@djbrooke djbrooke assigned pdurbin and raprasad and unassigned bsilverstein95 and pdurbin Jun 26, 2017
raprasad added a commit that referenced this issue Jun 26, 2017
@raprasad raprasad removed their assignment Jun 26, 2017
@kcondon kcondon self-assigned this Jun 26, 2017
kcondon added a commit that referenced this issue Jun 27, 2017
#3246: added last login/creation time/last API use for authenticateduser
@kcondon kcondon closed this as completed Jun 27, 2017
@djbrooke djbrooke added this to the 4.7.1 - Dashboard milestone Jun 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Code Infrastructure formerly "Feature: Code Infrastructure" Feature: Account & User Info Type: Feature a feature request
Projects
None yet
Development

No branches or pull requests

6 participants