clarin-dspace
clarin-dspace copied to clipboard
Show last active / last login date in /access-control/epeople
This is purely a UI issue.
REST Request provides lastActive information:
Sample:
GET /server/api/eperson/epersons
response:
{
"_embedded": {
"epersons": [
{
"id": "602e7e5e-dc8e-49c4-acd3-ccad03e68cfb",
"uuid": "602e7e5e-dc8e-49c4-acd3-ccad03e68cfb",
"name": "[email protected]",
"handle": null,
"metadata": {
...
},
"netid": "https://someother/idp/shibboleth!https://sp.idptestbed/shibboleth!rITEE1QiEAUsS09ycQFRqZNeSpU=[https://someother/idp/shibboleth]",
"lastActive": "2025-07-10T12:39:26.686+00:00",
"canLogIn": false,
"email": "[email protected]",
"requireCertificate": false,
"selfRegistered": false,
"welcomeInfo": null,
"canEditSubmissionMetadata": null,
"type": "eperson",
"_links": {
"groups": {
"href": "http://localhost:8080/server/api/eperson/epersons/602e7e5e-dc8e-49c4-acd3-ccad03e68cfb/groups"
},
"self": {
"href": "http://localhost:8080/server/api/eperson/epersons/602e7e5e-dc8e-49c4-acd3-ccad03e68cfb"
}
}
},
...
This is a Pull Request for the fix (in dspace-angular repository): https://github.com/ufal/dspace-angular/pull/41