cmv-app icon indicating copy to clipboard operation
cmv-app copied to clipboard

Loading config files based off of a user login?

Open JhopStl opened this issue 8 years ago • 5 comments

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

JhopStl avatar Feb 03 '17 20:02 JhopStl

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.

goriliukasbuxton avatar Feb 03 '17 20:02 goriliukasbuxton

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 👍

green3g avatar Feb 03 '17 23:02 green3g

@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.

tmcgee avatar Feb 03 '17 23:02 tmcgee

I am also interested in this capability. I had this capability in my Flex Application. I would love to see it in the CMV.

cmccullough2 avatar Feb 04 '17 20:02 cmccullough2

Thanks for the feedback guys. @roemhildtg @goriliukasbuxton I'm definitely interested in these concepts

JhopStl avatar Feb 16 '17 19:02 JhopStl