Admin user impersonation (sudo)

Jamie Davidson · Friday Demos · March 29, 2024 · 2:25

New tools for admins to impersonate users to understand permissions and experience for any user in the app, including full logging during sudo

Transcript

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

  1. um and then this sort of just uh another Qui quick quick one too let's see if uh it's actually working um so uh I'm going to show just real quick like I'm I'm currently logged in as an admin uh I'm looking at my my member you know my my member on my Gmail um and we can actually impersonate or sort of have a a pseudo mode uh too we ask the for an audit log we ask for a reason for it this is a demo let's see and so now you can see that uh I'm in the UI also here too um needs a little bit of work but um you can see that I'm now actually acting in effect as this member user um

  2. if I go over to this other dashboard here I no longer have permission for it if I go into the the homepage to oh I I no longer have access to this to this document um and it should all just come back when I when I come back and so you can see that if if I you know remove the pseudo mode to so it should in effect fact emulate the permissions for for the entire uh s all of the permissions on all of the actions for the user and we should have uh some annotated records for when I come into the pseudo mode and when I leave the pseudo mode ideally we will also annotate the specific actions that are taken that you know

  3. if I'm if I'm operating as the member that you still you still know that uh you know it's because I'm pseudo from from or you know impersonating um that member and I have an actual user ID too so we'll sort of work on that as well and this would also extend to stuff like access filters if you're testing a dashboard you could just switch between different users and just be like this is what this user sees this is what this user sees yeah it's a basically 100% it is in effect you are completely this user so like it and like the use cases are really like Hey how do we debug how do we debug the embedded dashboard how do we debug even like potentially

  4. I've got a user who can do some things can do some actions promote promote fields to a branch but not to the full model and I want to go and really recreate that that full uh workflow to as an admin and make sure I understand exactly what's happening this is great like there are just so many little permission Corners where someone's like hey can this user see this thing and now you can just flip to that user and see what they see it's like so this is going to be great