
Model specific embed roles
We've extended all of the model permissioning to embed users, for more complex use cases
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I'm always forgot which screen. Let's see this one. All right. Hey everyone. Okay. So, uh earlier I mentioned that we had a customer Elliot helped um to make this possible where we need to be able to apply model specific roles. So, just show that work here. There's a new parameter in the embed URL called model roles. We used to do the permissioning just with connection roles and now I can uh add model roles.
I've got this set up so it's going to be like a um an application mode where the user is actually able to create uh new analyses. Uh so you can see I've added roles for a couple different models into this new parameter. I'll go ahead and generate an embed URL and I copied that. We'll come over to another browser.
So, you know, I'm not logged in as myself um as my admin user. And you can see I come in here and now if I click new analysis, if I go to uh embed model 2, this one has the quer ro. So, you can see I'm able to browse all views. uh if instead I were to come create a new analysis uh on the other model that I granted access to, I'm a restricted quer, I can't do SQL queries.
uh and then just to kind of show really what the customer is ultimately uh in this case looking for and I would imagine in a lot of cases would be that they really only want to grant access to one of the one of the models even though they're using dynamic extension models and they don't want these extension models to show up.
So they just want to grant access to one model. If you do that and we generate that uh embed URL and come back over here, you get like actually a much nicer flow because when I click new analysis, there's only one model. So I don't actually have to select between different models. Um so that's that uh just sort of as the PSA for what this how this functions.
Everything's backward compatible. So folks who are already using connection roles to specify permissions, those role, whatever roles they've specified on a per connection basis will get fanned out to all of the shared models under those connections. But if they want to be able to target specific models, they can switch over to using the model roles. These things combine.
And so you could say like hey I want viewer for all the models under this connection but for this one model under that connection I want actually this user to have an elevated privilege of you know for example query or restricted quer um okay so that's that that's the new model roles parameter and embed kind of while Uh,