Solved
EstebanBustamanteAccepted solution
New Participant
April 24, 2024
Hi,
You will have to build something custom. Overall, you can create a JavaScript hook which, on the dialog loaded (or ready) event, checks the user role. Then, via JavaScript, you can select whatever group you need.
These resources can you help to build what I've described:
https://sadyrifat.medium.com/show-hide-aem-cq-dialog-fields-based-on-select-field-selection-a-comprehensive-guide-bee591abd24c (Here you just need to update the js to instead of showing a field, you select the element in the dropdown)
https://jimfrenette.com/aem/components/dialog-coral-ui-select-cascade/
Hope this helps
Esteban Bustamante
