I need to produce a single web app application that will serve different authorized users in my organization.
For example, The person A will see all the layers that are listed in the webmap behind the app but the person B will see only the layer concerning him.
I don't want to duplicate the application just for that matter because it will produce a lot of maintaining work' keeping the apps looks the same. Especially when it comes to different apps and each for a large variety of users.
I would expect that for Person the app would open with the layers he is authorized to view and not having any message regarding those he cannot see nor a message asking him to provide username and password.
I am using ArcGIS online but in the near future will have ArcGIS server enterprise.
Is there any solution?
What can you advice my to do?