19177: Hides 'Sharing URLs' tab from Sharing dialog when configured to do so. 19177-sharing-urls-ui-config
authorLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 8 Jun 2022 18:26:18 +0000 (15:26 -0300)
committerLucas Di Pentima <lucas.dipentima@curii.com>
Wed, 8 Jun 2022 18:26:18 +0000 (15:26 -0300)
commite1e17729d024637f9f3392611c9a59dc31e5db23
treedb3207aff0af19d51adad7b244bebd451b2790a1
parent9a59fad2b6a97af963728a5111395f9caa71802f
19177: Hides 'Sharing URLs' tab from Sharing dialog when configured to do so.

Also, adds some unit testing on the sharing dialog component, because testing
this on Cypress would require to reconfigure the backend, making other tests
to fail.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas.dipentima@curii.com>
src/common/config.ts
src/store/sharing-dialog/sharing-dialog-actions.ts
src/views-components/sharing-dialog/sharing-dialog-component.test.tsx [new file with mode: 0644]
src/views-components/sharing-dialog/sharing-dialog-component.tsx
src/views-components/sharing-dialog/sharing-dialog.tsx