
Content permissions
More early look at content permissions, mirroring the simplicity of Google Drive for every dashboard or workbook; a demo of audit logs on the content permissions; and a quick look at…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I've got a couple 's see and that's the right page so uh is doing some really cool stuff with the filters on dashboards and one of things came out of that was needing to do some like filtering by Topic in the field list that will be used over there and so I built a little prototype of that so now you can in here you can actually pick like I want to just label just see the all fields and Views by a particular topic so basically applies a topic to all fields and Views it's a really kind of weird meta like I don't know if you should ever do this or not but it's there uh or could be there um there's a few things to
deal with like it's the orders backwards here from what you see when you see when you go here it's topics on top and mine they're on bottom or the sorry the grouped topics are on top or not on top anyway so more to play with there and it's doing exclusions wrong right now that I have to go figure that out but yeah nice little helper maybe uh that's that and then I got to go switch branches hold on a second it's like a fun back tour into how topics used to work right because you basic join whatever you want like go crazy um I think it could be good for like topic building maybe I don't know I think that's exactly right yeah yeah that
that's that's a great place to that might be the recommended place to topic build now yeah you're still sharing yeah I'm getting there I I have the fortunate reality my uh permissions branch is radically different schema so I have to give it a second to find its new world come on little buddy build doesn't want to build please sorry uh okay so um I built a component on that up there we go maybe we actually have an out okay uh I had built oh my God what are you doing sorry the builds get freaked out when you do massive jumps all right I'll get to use this come yeah yes bu is down sorry turns out if you radically change your schema underneath remix it
kind of doesn't love it okay uh building have Eli stuff I just dropped in oh my God uh create a new group uh I dropped in a new control for adding members that I'm using in the permission stuff so uh um basically this works a little differently than how it did before where it automatically shows you only folks who aren't already members um if you do type a name of somebody who is a member it'll show them there but gray out and show you they're already member if you click them you get a nice little token that should have cleared but oops um you it'll token instead of um their email address as it currently Works um so just a nice slightly prettier control this
will ship before permiss stuff because I'm trying to keep that branch small ER than the current massiveness it is and then on permissions if we go to this one yeah um can actually the share UI here this one's really wacky uh turn this off turn this off um so would look roughly like this although pull this person off this would look like what maybe what it look like for a brand new piece of content um so we can see that I can pick my access for the oranization public which is going to go away for any shipping but this is now limited to just no access or viewer um when I add new folks oh I guess one thing it does is if I upgrade
the organization access level you'll notice that the the invite upgrades itself to one level above that with sort of trying to infer that probably it's stupid to invite anybody Explorer um if they're already there you can of course invite them lower I looked a lot at Google's thinking about this and I I think they actually got nice Nuance of saying essentially like maybe you're planning on revoking organization access so you want to kind of pre-provision everybody at lower levels and then pull them off and so like okay fine um it also just gets confusing when they start disappearing so um but yeah so I can go in here um you'll see that it offers me like user and a group and shows me the members
in that group and tokens are nice and I can go look for somebody who's already in there like me I'm the owner so I can't pick myself or add myself um and then if I do this and share they pop right up here and I can go in here and bump the levels around or I can add access boost get a big annoying yellow all over the place tell me that I'm making is the plan to email people as we do this what is like the uh what is thought there uh that's a great question we don't have one uh for today no but yes I mean we should I think what it'll be is we will notify them and then we should have a
notification system which for now will probably default to emails but I think think down the road you really don't want to get emails for every time somebody shares a doc with you you want it to like pile up in your Omni notifications and get a digest or all the things so yeah yeah um I I don't have it for right now does nothing but like you can go find it now um so yeah um and then yeah so you can add groups now and those work uh you can revoke people um you can't quite transfer yet but that'll come shortly you can't transfer to a group obviously that's not a good idea um then if I go back here the view I happen to be
looking at is actually the audit log so this is not the Super broad but let's go do a preview um so this is actually the audit log for permits um definitely going need some modeling because it's kind of awful to look at but basically you can see up here if I reverse the order of this guy um that the right yeah uh so like this is what I just did where I like revoked a user so it'll have a revoke record on it somewhere or roke date um so you can this basically gives you like every single action taken including revocations what role they were given um this also actually keeps track of like the default access permissions on a document level or a folder
level so that's why there's like a scope because this deals with public and organization Scopes um so yeah so everything is written into this table it's kind of massive um but it should be possible to build really nice modeling on top of it to give people like pretty AIT logs and stuff and I think we can probably do it all via sort of the same way we do AC system activity um today so yeah um can we sus out the access boost uh docu like thing documents that have been given access boost or users that have from this uh yeah it's over here uh this override oh cool cool cool yeah um yeah that's on there um the trick is that this will tell you
if they ever ever had it you want to go look at the canonical records for like the Who currently has it so this is really just about like history um but you could see who gave it to them you could see when they had it all kinds of stuff um is there a table with the current records yeah there's that the trick with that is that uh all these permit tables there's one per so there's document group permits document user permits folder group permits folder user permits so you have to put those together to understand what a user can do um the yeah that's kind of the current world um yeah there's probably actually a world where we actually do build a massive flat map
of every user to every document flatten flattening out their groups and folders um for actually running this all at scale U we probably will do that day one but in talking to a couple of file system nerds that seems to be the way to do it um so we'll probably do that eventually but for now go these tables we could again model it because it's just sequel so yeah um and these are pretty easy to like look at and you can see basically like they're simple the the problem with the history table is it's expressing all the possibilities in all these tables at a per table level it's really easy to sh like this connects a document to a group so there's a group User
Group ID and then the document's workbook ID um and then their role and permissions are writer in there that's it so yeah um I tore folders out of this Branch because I was trying to pull group UI stuff out so I don't have that to show but I'll see if I can't record a video next week sometime share with folks so you can see folders but they work too yeah oh I'm going to put an instance up later today people can play with too if they want to go mess around with it um to be clear right now it's just the I have not turned on but like actually access control stuff quite yet um I'm pondering if I can ship everything but the access
control stuff so we can drop it all in and then turn it on as a release and kind of keep the release smaller but DVD