Modeler permission

Conrad Slimmer · Friday Demos · August 1, 2025 · 8:47

We're launched model permissions beneath connection permissions, and also layered in a new modeler/developer user distinct from the connection admin.

Try it yourselfThe full week on docsadministrationmodeling

Transcript

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

  1. Okay, I've got another one. I took a little break um in order to switch branches uh with minimal interruption, but let's see. Here we are again. We'll share the screen. Okay, so first of all, just a quick announcement. We did ship uh model scoped roles yesterday. Uh and so now you can specify um your what used to be connection roles but model roles uh on a per model basis.

  2. So this used to just have the connection here but if you have more than one model under a single connection you can see that each model is included and you can have different uh connection/model roles for uh each model within a connection. Uh just giving that as background for this quick demo. So I've got I'm going to dox myself here.

  3. Uh slimmer at Gmail. That's that's my my personal account and I use that so for my one of my test users. Um please don't send me spam. I get enough of it already. But here I am as an admin and looking at SlimRAD, my my personal account. And let's see, we want to find oh yeah, PG demo.

  4. So this is a model and I currently uh that user SlimRAD has the quer role on that model. And so if we jump into um this is my personal user. You can see my Chrome is different. That's how I keep track of things. So here I am as SlimRAD. And uh if I look at this IDE of the PG demo model, it is readon for me.

  5. This is because I'm a querer and I'm not able to make edits to the shared model. Uh but if I jump back over to Conrad atom omni.co and I modify my role to this newly added role modeler um TBD if we want to call that modeler or maybe developer or something different uh and save that. So now you can see uh my resolved role is modeler.

  6. And if I jump back over to that user and refresh the page, I am now able to edit models without having the connection at or edit shared models I should say. And this also applies to shared extension models um that uh without having to be a connection admin. So really this just gives me the ability to edit shared models and merge branches and promote workbook models directly to the shared model without needing to grant this user connection admin which would allow that user to you know create new models new shared models uh and manage other users permissions.

  7. So, it's just like an inter intermediary step between um querer and admin. Uh this actually I've got an approved PR. There's just one integration test that failed that I have to clean up. So, this I would expect to get into the product today. Uh Conrad, question for you. For shared extension models, do those show up in the permissions list?

  8. So, how would somebody assign a modeler role? Because what I what they should solve for is now like departmental. You got it. Yeah. So, uh you can see they do show up in the um in the permissions management screens. This is just the user permission manager screen. We also have it on a per connection basis. But you can see that my extension models show up here.

  9. And I give this little hint that actually this is an extension of the parent model PG Docker 2 because now you can effectively have develop like model developers isolated from each other. So you could have your departmental finance developer that can only touch the finance model and other modelers from other parts of the business can't. Is that that's exactly correct.

  10. Maybe you've got different departments and you want to be able to lock down development on to their department and then maybe you've got like the some people who are you know your your Uber your data team and they're allowed to manage the kind of shared definitions within the shared model. So it's we're trying to get more granular in terms of being able to permiss models but still be able to share common um you know common definitions between different departments.

  11. Uh in that scenario would workbook promotion be to the shared extension? Yes. Yeah. If you were set up in that um in that modality where your shared extensions are really acting as like department models, then what you're doing is you the the thing that you'll do is you'll you'll and I still need to do a little tweak to make this work.

  12. But we'll make it so that you actually can't start a new analysis from the shared model and you can only start a new analysis from your department extension. And and so the extension model essentially becomes the parent model of the workbook. That the parent model of the workbook is where that workbook's permissions come from. And and yes, to your point, um if I promote a workbook model, then it will go to the parent model of that workbook, which in this case would be your department model.

  13. there's uh a little bit more stuff to do like I say around making it so that you know you can kind of set yourself up for this modality where you expect no one to be creating new analysis new workbook off of the shared model and also some stuff around um the Git integration with with shared extension models and having those be able to operate in different modes and how the branching mechanism is currently grouped for shared extensions.

  14. I'm going to need to make it so that you can operate in this mode where you have your shared extension, different extensions are in different git repositories and the branches are managed independent of the shared model. So little work to come there still, but we're moving in that direction where that that's exactly the the problem. We're going to be you know in addition to this dynamic extension thing that we've been talking a lot about, we're also going to have this sort of like departmental extension thing.

  15. Um, and for the model modeler role, will they be able to refresh schema or is that something that's still uh with the connection admin? Yeah, so this is a this is a funny one because um great question. The the current behavior when this releases is schema refresh will not be allowed for modelers. And the reason for that is because of the fact that we want to set this up so that separate modelers uh different models under the same connection can have different roles um for a given user.

  16. And the schema model is shared is really associated to the connection and shared between all of the um the shared models within that connection. If we had a user who was say a modeler in shared model one but just a viewer or a query or somebody else uh in shared model 2 under the same connection, it would sort of be this escalation of privileges.

  17. Um that said, I think I can fast follow with an enhancement that says if there's only one shared model under this connection, then the modeler role can receive the refresh schema permission because then you're not having this problem. And then secondly, um there's another chunk of work scheduled to do granular permissions. So, we're going to be making essentially custom roles where you're able to enable disable certain um specific rules or or permissions within a given custom role.

  18. And so, that's the kind of the ultimate goal to solve this like well actually I want my modelers to be able to refresh the schema. Uh so, you'll give those modelers a custom role. You'll create this custom modeler role that also has the refresh schema property or uh rule associated with it. All