I am trying to change the dropdown options that appear when a web editor attempts to set access rights to any content. After the popup opens that handles access rights, the dropdown appears after clicking on the "Add User/Group" button. Currently, the dropdown loads all users/groups without filtering according to the groups the signed-in user has access to. I need to filter the dropdown options according to the user roles. I found no documentation regarding this. So I assumed there is no existing configuration or option in the backend to achieve this.
I planned to create a new API to fetch dropdown options and integrate it into the Dojo component for the popup. After inspecting the existing codebase, I discovered that the Access Rights popup component is built using React. However, I have limited knowledge of how to override a React component that is embedded in Dojo. Any suggestions would be greatly appreciated. Additionally, please advise if it is possible to handle this entirely on the backend.
Hello,
I am trying to change the dropdown options that appear when a web editor attempts to set access rights to any content. After the popup opens that handles access rights, the dropdown appears after clicking on the "Add User/Group" button. Currently, the dropdown loads all users/groups without filtering according to the groups the signed-in user has access to. I need to filter the dropdown options according to the user roles. I found no documentation regarding this. So I assumed there is no existing configuration or option in the backend to achieve this.
I planned to create a new API to fetch dropdown options and integrate it into the Dojo component for the popup. After inspecting the existing codebase, I discovered that the Access Rights popup component is built using React. However, I have limited knowledge of how to override a React component that is embedded in Dojo. Any suggestions would be greatly appreciated. Additionally, please advise if it is possible to handle this entirely on the backend.