
SQL viewer permissions
A new permission that allows viewers to see any SQL-based content, even without explicit model permissions. New flexibility for folks who want to protect the database but still build lots…
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I'll go um caveat here uh I'm not sure we should actually release the thing I'm about to show you um so uh let's say I created a dashboard and I wanted to write some SQL um and so I get this nice warning but let's say I ignore the warning or I just don't really care I want to show the sequel to a viewer or restricted querier anyway uh well I created a little check box in the org level settings that basically universally for the entire org for all content or all dashboards really on that org would allow viewers and restricted queriers to run these queries that were currently preventing them from running um so with that off I go over to my viewer I get
this error uh with that on hey look the eror goes away um so this is this is universal poke through this is universal poke through that's exactly what this is why you to check the support user box or did you not have to and just do it by habit I did it because I had accidentally unchecked it before completely but very Eagle eyed of you to see that Eli um like I actually don't think this toggle should exist on the org level for very long but we could consider doing it as a temporary uh release valve for the feedback we're seeing um Luke I wanted to chat with you a little bit about I I actually think this is a great folder level setting for
the content system and so really the only way I would be comfortable releasing this as it is today is if we had a sort of clear path to migrating it to being a folder level setting or Luke maybe you're close enough with the folders that we could just wait until that happens and do it then so uh we don't have we can chat about that now or later but that's kind of my mentality here is like could we sort of uh scratch the itch for some people who are running into this um sooner rather than later I mean it definitely maps cleanly to the folder plan like folders will definitely allow you to do that if we decide to let people if we turn the
you know the data structure allows for that whether or not we let people click the button or not is question but yeah and as far as this to a root folder the the root folder I should there are a lot of mode shops I think that want just this which is like I want I don't really care about SQL as a permission but I don't want people in the database because I don't think they could write cql um and so I I actually do think people would use this it it's sort of like I think of this as a Google Drive style default that is like by default all my docs are public and maybe that person can't create a doc but they can go
access docs that exist so I think there I I think this could be reasonable that might not be the place for it or whatever but I actually think this is a reasonable toggle to have in the system like we would use this internally as a simple example on like the folder level I I absolutely think it belongs as a Content like organization setting yeah I think with the right level of like caution indicating the UI I think it's we could do it just be like be careful I could see some admins getting unsettled that other developers could do this so it' have to be like a really restricted Ro type that could untoggle this because it is if as you go through like a Security
review they' go crazy if they saw that yeah front end yeah all right I'll I'll follow up with the powers that b to talk about the path forward here