[Workbench] Group membership doesn't work on User admin page
0: "Error: no data-permission-uuid established here." 1: input#group_uuids_ length: 2 __proto__: Array(0)
#1 Updated by Lucas Di Pentima 8 months ago
Comparing versions 1.3.3 against 1.4 or master, seems that rails'
check_box_tag() template function is ignoring attributes with values being
nil, in this case when a checkbox is rendered unchecked, its
data-permission-uuid attribute should have
#2 Updated by Lucas Di Pentima 8 months ago
Updates at 431f22982 - branch
Test run: https://ci.curoverse.com/job/developer-run-tests/1431/
Sets up a default 'x' value on
data-permission-uuid instead of relying on rails' tag helper that from rails 5.0 seems to ignore attributes with falsy values.
As we have been having flakyness with the wb1's integration test suite, didn't think it's a good time investment to write a test for this as we're phasing workbench1, but I can do it if necessary.