bcgov / nr-forests-access-management

Authorization solution for BC natural resource sector
Apache License 2.0
8 stars 2 forks source link

Update role selection to use radio in table #1456

Closed MCatherine1994 closed 2 months ago

MCatherine1994 commented 3 months ago

Describe the task Update the role selection dropdown in Grant Access and Grant Delegated Admin form to become a table with radio selection and role description as in the new design. Start with single selection for now.

Acceptance Criteria

Additional context

https://www.figma.com/design/VuQBlZZ1PmGUlEBJriyzo5/Manage-permissions?node-id=2149-30454&t=n7wOvIiT2h9I2AVw-4

OlgaLiber2 commented 3 months ago

@NickSaglioni here's the link to figma https://www.figma.com/design/VuQBlZZ1PmGUlEBJriyzo5/Manage-permissions?node-id=2149-30454&t=n7wOvIiT2h9I2AVw-4

MCatherine1994 commented 3 months ago

Hi Nick @NickSaglioni , just fyi, we still need to keep the current role selection dropdown component, cause we'll use the dropdown later as well. Thanks!

NickSaglioni commented 3 months ago

The Checkbox component used in Figma is not being used for now, replaced by the RadioButton component. This is because Checkboxes in definition accept multiple selections, which the application is not prepared yet. RadioButton only accepts one value, so it was used in this case. It should be replaced with Checkbox once multiple values could be used.