Defect #1472
closed
Disabled Attribute with password was provisioned
Added by Alena Peterová almost 6 years ago.
Updated almost 6 years ago.
Description
Version: 9.3.4-SNAPSHOT
Steps to reproduce:
In the provisioning mapping:
- the attribute AttrPass is "Attribute with password"
- set the attribute to "Disabled"
- change the password for the system for some user
- the attribute AttrPass was provisioned to the system during the password change
- Description updated (diff)
- Status changed from New to In Progress
- Target version set to Opal (9.4.0)
- % Done changed from 0 to 60
Before password change for AccAccountDto is now checked allowed password attributes. If any password attribute isn't founded password changed for this account failed.
For example:
I have system with 2 mapped passwords (PASSWORD and description). PASSWORD is defined as main password, now exists four use cases:
- Both attributes are enabled -> password change are success (both attributes are provisioned),
- description attribute is disabled -> password change are success (only PASSWORD is changed),
- PASSWORD is disabled - > password change are success (only description is changed), EVEN description is mapped as secondary password,
- both attributes are disabled -> password change failed (no attributes are provisioned).
Test missing.
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Alena Peterová
- % Done changed from 60 to 90
- Assignee changed from Alena Peterová to Radek Tomiška
- Related to Task #1494: Password change - remove accounts without enabled password from selection added
- 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 works as UC above says. Code looks nice.
Note: i created ticket #1494 - hide accounts from select box on password change contents, when all password fields are disbaled (=> prevent to show exception with not executed password change).
- Status changed from Resolved to Closed
Also available in: Atom
PDF