cmv-app
cmv-app copied to clipboard
Loading config files based off of a user login?
This may be wishful thinking, but I'm trying to find a way for a user login to decide which config file to load. My end goal is to have one application for all internal departments (I work for a county government), but allow each department to have a specific set of widgets and layers based off their credentials. I understand that I can change the security settings in ArcGIS Server, however that would only control layer visibility...not widgets.
My initial thought would be to set up some type of script in the back end and go from there, but I'm really trying to explore all options here. Any thoughts and/or suggestions would be much appreciated.
Thanks
We are working on the Map Gallery concept for the CMV, maybe you would be interested in using it in your organization. User logs in and sees the maps allowed to see by user login credentials, similar to Portal for ArcGIS concept.
I do this, well sort of. Basically what I have is a simple flask (python) app that handles the logging in and authentication with ArcGIS server. It also sets the config as a global javascript variable. And I use the arcgis security roles to determine who has access to what. The cmv app then loads the config based off of this config variable.
@goriliukasbuxton I'd be interested in this concept you speak of 👍
@goriliukasbuxton This "Map Gallery" concept sounds like something I've seen before. :smile: I would love to see how it has evolved. It would be very useful for many folks.
I am also interested in this capability. I had this capability in my Flex Application. I would love to see it in the CMV.
Thanks for the feedback guys. @roemhildtg @goriliukasbuxton I'm definitely interested in these concepts