![]() ![]() What we want is to use a key that corresponds to a column, and a value that corresponds to row values, for the relevant table that we want to sandbox. We can add attributes with whatever key-value pairs we choose. There’s nothing magical about the user_id key: it’s just a variable. Brown to the Customers group, and giving her an attribute: user_id: 20. Brown, with a key of user_id and a value of 20. From Admin settings > People tab, we’ll click Invite Someone, fill out the names and email fields, and add her to the Customers group.Īnd here’s the important part for sandboxing: we’ll add an attribute to our new person, Ms. Brown, and add an attribute to her account. ![]() Creating an account and adding an attributeīefore we can set sandboxed permissions to the Customers group, we need to create an account for Ms. The Groups page after creating our Customers group. To do this, click on the gears icon in the navigation sidebar and select > Admin settings > People > Groups. Metabase uses groups to organize permissions, so we’ll first need to create a group, which we’ll call Customers. Brown, is only able to see table rows related to her account. In addition, you may want to check out our guide to data permissions, guide to collection permissions, and our permissions overview to get a better sense of how sandboxing fits in with Metabase’s permissions system. You should back up your Metabase application data. Basic sandboxes restrict access to rows for column-level permissions, see Custom data sandboxes. In this article, we’ll walk through an example of setting up a basic sandbox using the Sample Database included with Metabase. Metabase uses the term sandboxing in a similar way, except in this case the isolated environment refers to a “data environment.” When an admin grants a group sandboxed access to a table, they can only see the rows and columns included in that sandbox. “Sandboxing” often refer to an isolated environment that’s used to protect or isolate part of a system. Metabase’s paid plans include data sandboxes, a feature that gives you granular control over the rows and columns that people can see and use in questions. Creating an account and adding an attribute. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |