
Sudo / permissions testing (launched)
Sudo now allows admins to use the app as other non-admin users, ensuring permissions are set as intended for both application functionality or data access - no more guessing.
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I'll do a par partially uh SC scripted uh demo one sec but it's live in the product so at least the feature should should work uh one sec where am I here we are uh so this is this is live now we've we've shipped uh an impersonate um and just to show you here's a dashboard uh real quick with uh some data that I've got access to as an admin on on this instance and then I've got my uh you know personal personal account here too that I'm going to impersonate um and this is useful for folks that are trying to debug permissions or debug user attributes and filters so that you can ensure that uh you know content and data is not actually uh
dis or uh is not displayed to folks that that shouldn't have it but also the folks that should have data um should should actually be able to get it too um and it's basically you can navigate to the user in the uh admin console and impersonate it directly this is going to be for a demo uh to give it a reason to and now you can see I guess maybe just one at a high level too I'm now impersonating this user and I'm actually everything I'm doing in the app is going to be filtered to this user so you know I I see the content only that I can do or I can take actions modeling that I can do too here's that previous dashboard
I was on um that actually this user doesn't have access to and so we can go and then confirm this user doesn't have access to it uh you know if I exit now this impersonate Mode come back to this dashboard to I will basically retain the access so we end up enforcing the the uh the the permissions associated with it too that's the quick quick pass it's G be massive for people that's gonna make life so much easier and Jamie that also picks up like user attributes and stuff too it did okay you could switch that to another user and you would actually get um a different brand in that table yeah I saw this earlier Jamie and I was playing with it I I
noticed you can't impersonate an admin can you explain the rationale there well we don't want uh the very least to start we didn't want someone to be able to impersonate someone that could also take actions that change levels of permissions um for things too so I if I were to you know impersonate you and then go ahead and give everybody access to it too to an instance or something it felt it felt awkward or potential uh Gap but um and and also sort of admins should in general have complete access to everything we will have Cascades of permissions that um will get more complicated uh over time too we'll definitely want to be able to to impersonate sort of segments of access and segments of
controls but but we s start start with a uh the less risky version and only admins can do the impersonation and only admins can do the impersonation that's right and and we do I I I don't know if folks noticed too but we do have a little model where we ask for a reason too and we do have a log it's not uh yet displayed to users but we do have a log of effectively when those impersonation actions happen and then we we've got uh some follow-on work we want to do too so that effectively every action will be annotated with the person who's in fact actually doing the impersonation um as well as the you know the uh user that um we the system
is busy acting as also um so it'll be auditable at a high level so you can see like if a dashboard was changed if it was done via the impersonate exactly you could see you could see like hey this was the admin impersonating you fixing fixing this this dashboard or something like that um but the the primary use for it is really around debugging debugging kind of permission access kind of controls um but it does like you know one of those permission access controls is behaviors so like for example like promoting or promoting a field from a workbook model to a uh shared model that may be something that we want to give individual users access to but uh you know in order to test
that you know a user would have to go in you know an admin may want to go in and do that and ensure that okay this this user actually can do this for this context that sort of thing I maybe missed the log bit but is that something that users can see now or is that something that will be done so we are logging it now we don't actually expose it to anyone yet but we we we will build it we we need to build actually just kind of holistically a auditable uh log for kind of all actions and stuff too there definitely will be uh demand for that yeah for embedded we could we could theoretically also eventually build out like a browser extension
that could have like a UI where you could pick users and that type of thing even def definitely we the the very first version of this we actually I put it was a URL parameter that would let you um you know put in someone's email address we ended up pulling that out uh Chris Chris very uh reasonably uh you anything that if you copy and paste the URL and like you're doing kind of SEC security action maybe like potentially problematic too you don't want it to be uh a surprise to the admin that gets the link that they're actually now impersonating somebody um but what what I think what we'll probably do is have potentially a URL parameter to turn on that impersonation header and
then allow an admin to select the specific user log the reason why they're doing it so like sort of facilitating the the same workflow so you could sort go from user a b c and I could try all of them on the same piece of content without having to go navigate through the admin console um but that that's also uh a follow on but but but should be should be yeah straightforward but for like an embedded use case that's that's incredible like we're going to be able to just debug a user immediately definitely