(evrk2) Capabilities related to set not unchecked when set is unchecked when editing role
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
relates to
Checklist
hideActivity
Yauhen Viazau July 12, 2024 at 12:58 PM
As was discussed on daily Eureka stand-up - current behavior is in fact expected.
Closing the ticket.
Yauhen Viazau July 12, 2024 at 9:14 AMEdited
Tested on evrk2 - issue found
When capabilities included in set are NOT selected → Set is selected and role saved → Role opened for edit, set is unselected, role saved → Capabilities included in set are unchecked and enabled
When creating a role → When capabilities included in set are NOT selected → Set is selected → Set is unselected → Capabilities included in set are unchecked and enabled
When capabilities included in set ARE selected → Set is selected and role saved → Role opened for edit, set is unselected, role saved → Capabilities included in set are checked and enabled
When creating a role → When capabilities included in set ARE selected → Set is selected → Set is unselected → Capabilities included in set are checked and enabled
- please review/fix

Dimitri Gogiashvili July 5, 2024 at 10:29 AM
The issue is still active on evrk2
Details
Details
Assignee

Steps to Reproduce:
Log into evrk2 environment as an admin
Go to "Settings" → “Authorization roles”
Open any existing role with capability sets
In role detailed view, click on “Actions“ button → Select “Edit“ option
Verify that some capabilities' checkboxes are checked and disabled
Uncheck checkboxes for some or all capability sets
Expected Results: Checkboxes for corresponding capabilities (included in unselected sets) are unchecked and enabled.
Actual Results: Checkboxes for corresponding capabilities (included in unselected sets) are enabled but remain checked. If a role is saved at this point - it will be saved with all selected capabilities.
Additional information:
NOT reproducible on FSE Dry run 1
See example: