You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The names of editors are taken from the SecurityService, which in turn takes them from the OidcJwtCallerPrincipal which gets the name from the Jwt token. This library tries different fields in the token. First the upn (User Principal Name), which is structured similar to an email. If it cannot get the upn it tries the preferred_username, which is most likely a human-readable username in a system. Lastly, it tries to use the sub (Subject), which is an identifier number. Depending on the identity provider, different values are returned here, and most of them are not very human readable.
Is this a regression?
No.
Expected behavior
The editor should be at least the human name of the editor (firstname lastname). The maybe we can add some other differential features to avoid naming conflicts. Maybe ask Zeno how he would handle this, since he works with the tiss API, he could have some good ideas. Additionally, think about a solution of how to apply this change retroactively to the editors of old versions. Otherwise, there will be an abrupt break in naming scheme. Also think about name changes in the CRIS systems and how to handle those.
Screenshots
This is from the TU Wien DMP Tool. in DAMAP it would just say user.
Environment
Damap version 4.3.0
The text was updated successfully, but these errors were encountered:
After checking the issue on a deeper level i was able to ascertain that the revision table (REVINFO) is maintained correctly.
The hash is still there but the CHANGED_BY_ID stored does correspond with the person making the change.
The DMP_VERSION table instead will link to a different revision object. Also several links to revisions in the VERSION table are the same, which should not be possible.
Additionally in order to fully clear this issue the existing tables need to be corrected or some of its content deleted.
What will depend on the exact issue at hand.
Describe the bug
The names of editors are taken from the SecurityService, which in turn takes them from the OidcJwtCallerPrincipal which gets the name from the Jwt token. This library tries different fields in the token. First the upn (User Principal Name), which is structured similar to an email. If it cannot get the upn it tries the preferred_username, which is most likely a human-readable username in a system. Lastly, it tries to use the sub (Subject), which is an identifier number. Depending on the identity provider, different values are returned here, and most of them are not very human readable.
Is this a regression?
No.
Expected behavior
The editor should be at least the human name of the editor (firstname lastname). The maybe we can add some other differential features to avoid naming conflicts. Maybe ask Zeno how he would handle this, since he works with the tiss API, he could have some good ideas. Additionally, think about a solution of how to apply this change retroactively to the editors of old versions. Otherwise, there will be an abrupt break in naming scheme. Also think about name changes in the CRIS systems and how to handle those.
Screenshots
This is from the TU Wien DMP Tool. in DAMAP it would just say
user
.Environment
The text was updated successfully, but these errors were encountered: