Model level permissions

Conrad Slimmer · Friday Demos · July 3, 2025 · 4:55

Adding a new permissions layer to control model extensions, allowing more complex use cases with team or group models.

Try it yourselfThe full week on docsadministrationpermissions

Transcript

This transcript is auto-generated. Names and product terms may be wrong.

  1. Okay, I think I'm up. Um, let me see about sharing here. Which one am I looking at? This one. Okay. So, uh, everybody knows I've been working on like stuff with um, shared model extensions and you know that's been so far demoed kind of in the context of dynamic model extension. But another use case for that is to have departmental models where um you know you maybe have different departments kind of like a hub and spoke model where the shared model becomes the hub and then each department gets a shared extension model.

  2. But in order to make that really um useful uh you would want to be able to assign the model permissions, model roles uh at a model level whereas uh up until well hasn't shipped yet but up until now our um our roles are all assigned at the connection level. So, you know, if you had some in say the finance department and somebody in the marketing department that was uh you know, you don't want the marketing department to be able to access the um the finance department's uh spoke and vice versa or maybe just not be able to model it or whatever.

  3. There was no way to accomplish that. So what I'm doing is I'm shifting the ro scoping from connections to model scope. Um so I think everybody should be able to see my screen hopefully. Um so here I am. I'm under one of my connections. Uh I've got a lot of connections and I've got a lot of models under connection under these connections.

  4. So it's a little bit messy. Um but anyway, so we've gone from uh basically having a the the connection roles being assigned on the connection to being assigned per model. So these are all of the models that I have under this connection and I can um assign different roles uh to groups on a per model basis. So for example, if I want to change the um you know demo demo to be for the super group to restricted quer you see I can do that.

  5. If I jump back over here, uh you'll see that now you know the Connor Slimmer who or Slimrad my my personal account who happens to be a member of super group uh is now a restricted resolves to a restricted query on demo demo. We can kind of show that um over in the individual user page as well.

  6. Where are you? Oh, yep. Look. So, I need to refresh because I um this guy, where are you? Demo demo. I need to put a filter on. Where'd you go? Here we are. Demo demo now resolves to a restricted quer. Shows where it's coming from. It's coming from super group. Um, if we jump back over here, one other thing to to kind of note is that uh all of the roles are assigned per um per model except for connection admin.

  7. So if you were to make a group a connection admin, all of the roles become uh all the models in within that group become a connection admin because connection kind of supersedes whatever the lower level model roles are. Uh that'll be the same if you assign it to a connection admin to a user. Uh and but I retain the old you know specific roles if you then remove connection admin from from one of the the models.

  8. So, um, you know, you can imagine this then flows out to what we allow users to do when they're interacting with models either in a workbook or in the IDE. Um, not quite done. A couple things need to happen like I want to add a filter model, not just filter groups or filter users, but another filter to make this a little bit more manageable.

  9. A little bit of UI cleanup stuff and uh, a lot of testing. So, uh, wanted to have this in this week, but instead it looks like it'll be in next week.