
Custom permissions almost launch
We're getting close on new custom permissions. A demo of how we handle duplication and resolution between different permission groupings.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
You have a demo. Uh, I have a demo. Okay. Here we go. So, I I've I've demoed a lot of this before, but it's getting very close now, and there's been quite a bit of polish and some additional functionality added. So, I figured it was uh hopefully worth sharing the progress to get people hyped up for what should be landing very very soon.
So, uh as many of you know, I've been working on customizable roles. Uh and here's the new RO um setup screen. So, this is in the admin stuff. And you can see that we've got the different existing kind of base roll groups. And then within each of those, I can come in and say, "Oh, hey, I want to either customize the base role," which would be like changing the um things that this base role can do um without having to then go and assign new roles to everybody.
So if you just want to change your existing role role behaviors without reassigning new roles, you can customize the base role. Uh so I can do things like disable uploading CSVs or scheduling. Uh things along those lines. Um okay, that's cute. Um, but to kind of show off the other behavior that's new here, we can uh within each group, we have role resolution.
And so you order which role would win if say they have a role from two different user groups or the connection base role and also set on their user. So, right now I've got this quer and this custom this duplicated, you know, extra new query ro that I've added that has um some things disabled on it. Uh just to kind of show what's going on there.
Here's this user and currently they are resolving to the quer role even though they've got query with this allowed uh set on their user but the base role for the connection is querier and as you see in here quer has a higher precedent resolution than quer with disallowed. Uh this is actually hasn't picked up that change. So you can see that this is the query role unedited.
If I come back in to here and I modify the precedence of the resolution order, then jump over here. You should see that now that same user is now resolving to query with disallowed because I changed the the precedence order and now uh in the app or as that user um you'll see that CSV and save spreadsheets are gone.
So they can't do those things. And similarly with like download and upload se uh whatever the other scheduling those things are also disabled if we were to click through all of that. So just wanted to show we're making really good progress. Um I'm getting close to putting that into a PR that will be getting reviewed and hopefully ship uh as soon as next week.
So here we go. Conrad um that the precedence concept um does that only take place within roles of the same Okay. Yeah. So you can the the role priority setting is within a role group? Yeah. Yeah. Okay. Because right it outside of that it's essentially most permissive wins. That's right. So if for example a user has a a would would potentially get a role for quer and also potentially get a role for viewer say from the connection base role um they're going to get necessarily that quer role even if there's some customized view okay that that UI actually does a really nice job of of explaining that I think so that's well cheers to to Jared and
the design team on on that. Well looks great.