Task #1185
closedCreate endpoint to read metadata about identity password
100%
Description
Create endpoint to read metadata about identity password:
- use new endpoint for show information about identity password is blocked
- remove blockLoginDate from IdmIdentityDto
Files
Related issues
Updated by Vít Švanda over 6 years ago
- Target version deleted (
Malachite (9.0.0))
Updated by Ondřej Kopr about 6 years ago
- Related to Feature #1384: Support "Password never expires" added
Updated by Ondřej Kopr over 5 years ago
Updated request:
- remove fill metadata about password in toDto method in identityService
- add the filling metadata from password to rest endpoint in identity controller (get method),
- the behavior with infomation message in identitz detail about blocked password must works as before.
Updated by Ondřej Kopr over 5 years ago
- File pass_agenda.png pass_agenda.png added
- % Done changed from 0 to 50
- new endpoint for password was created,
- new permission for password was created, now exists only READ and UPDATE (delete and create isn't possible),
- new manager and service in frontend was created,
- new agenda on user detail was created
- behavior with password never expired was created. The boolean flag passwordNeverExpires is checked in IdmPasswordService#save method and when is true the validTill will be cleaned.
While I implemented this functionality was founded issue with audit for logins. Because the audit of logins doesn't except that metadata about password edited someone else than owner and now is this possible. So I must implement new audit criterion for self relation with password audit. So IdmRelationAuditExpression and IdmPasswordSelfRelationWithOwnerExpression was created.
Missing:- update documentation,
- create tests,
- check whole functionality by frontend.
Updated by Ondřej Kopr over 5 years ago
- % Done changed from 50 to 90
I finished implementation and testing for this feature.
Documentation:
https://wiki.czechidm.com/devel/documentation/identities#password
https://wiki.czechidm.com/devel/documentation/identities/adm/password
Commit: https://github.com/bcvsolutions/CzechIdMng/commit/a06e30ffa2c41a49e16fc490f09ba98d6af41606 (branch: develop)
Commit also contains whole ticket #1384 and transformation password service to toPredicate.
Updated by Ondřej Kopr over 5 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Radek Tomiška
Please Radek could you check this feature?
The issue can be with showLoading with access password change directly by button form dashboard.
Thank you for feedback.
Updated by Radek Tomiška over 5 years ago
- Status changed from Needs feedback to Resolved
- Assignee changed from Radek Tomiška to Ondřej Kopr
- % Done changed from 90 to 100
I did test and review, it's awesome, thx!
Note: show loading added in #1384 - issue was on the overriden content from acc module only.