We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
After having the TMailUserRepositoryAuthenticator, we can finally write the webadmin routes that will allow us to list users login activity.
TMailUserRepositoryAuthenticator
There would be two routes:
curl -XGET /reports/users/connection [ { "username": "[email protected]", "imap": { "lastConnectionDate": "XXXX", "ipAddress": "XXX", "userAgent": "XXX" }, "smtp": { "lastConnectionDate": "XXXX", "ipAddress": "XXX", "userAgent": "XXX" } }, ... ]
This route would list last connection info of every users present in the system.
We need as well to add a filter to that route:
curl -XGET /reports/users/connection?activitySince=3month
Where activitySince is a duration that allows to filter and return a list of users active during this duration.
activitySince
And we can have as well a more fine-grained route, per user:
curl -XGET /reports/users/connection/btellier@linagora { "username": "[email protected]", "imap": { "lastConnectionDate": "XXXX", "ipAddress": "XXX", "userAgent": "XXX" }, "smtp": { "lastConnectionDate": "XXXX", "ipAddress": "XXX", "userAgent": "XXX" } }
DoD:
The text was updated successfully, but these errors were encountered:
Remark: shall we add a filter as well to return users that have not been active during the duration?
Sorry, something went wrong.
No branches or pull requests
After having the
TMailUserRepositoryAuthenticator
, we can finally write the webadmin routes that will allow us to list users login activity.There would be two routes:
This route would list last connection info of every users present in the system.
We need as well to add a filter to that route:
Where
activitySince
is a duration that allows to filter and return a list of users active during this duration.And we can have as well a more fine-grained route, per user:
DoD:
The text was updated successfully, but these errors were encountered: