Discover this year's submissions to the Dataiku Frontrunner Awards and give kudos to your favorite use cases and success stories!READ MORE

Don't allow simultaneous users on webapp

jcre
Level 1
Don't allow simultaneous users on webapp

Hi, 

I have built a Bokeh public webapp in dataiku that allows the user to modify an existing Dataset and save the changes he makes onto the original dataset. 

To be sure of not having weird interactions with multiple users trying to modify the dataset at the same time, I would like to restrict the usage of the webapp to a single user at a time. 

Is there a way to do that in Dataiku ? Alternatively, is there a way to know through python if there is already another user on the webapp, so I can lock access manually (for example, displaying a "Another user is using the app, try again later" message in place of the actual webapp ?).

Thanks for your time. 

0 Kudos
1 Reply
Manuel
Dataiker
Dataiker

Hi,

I am not answering directly your question, but perhaps you should have a look at using Dataiku Applications, as these allow concurrent reuse of the a flow without interference. In practice, each user can have its own instance of the flow. More information here, https://www.youtube.com/watch?v=0U3iP6-voFw.

I hope this helps.

0 Kudos