title |
---|
Troubleshooting data permissions |
If a person has the wrong level of access to the data that's returned by a question or query, you'll need to troubleshoot different levels of data permissions, starting from the most granular.
For more information about the different types of database permissions, check out the section on data access in our permissions documentation.
Explanation
If a person is a member of multiple groups, Metabase will grant the most permissive level of access across all the groups in which they're a member.
For example, if a person is a member of two groups — one which grants [View data] access of "Can view" to a database or table and another that grants "Blocked" access to that database — that person will be able to view the data.
Remember that everyone is a member of the All Users group. We recommend you revoke permissions from the All Users group, and create new groups to selectively apply permissions to your data sources.
{% include plans-blockquote.html %}
Explanation
If you've granted a group View data access of "Can view" to a database or table, people can view saved questions and dashboards that draw on that database, as long as those questions and dashboards are stored in a collection that they have access to.
The Blocked data permission is available on Pro and Enterprise versions of Metabase. If you block a group's access to a database, members of that group will not be able to see any data from this database, regardless of their collection permissions.
If you get an error message that says something like "permission denied to <your table>", you'll need to check if the Metabase application has the correct permissions to query your database.
SELECT 1
FROM <your table>;
Explanation
Your database has its own set of permissions that are configured for each person (or application) that logs in.
Database permissions apply at the level of your database connection, before your data and collection permissions are applied in Metabase.
This means that settings configured on the database side can prevent Metabase from connecting to certain schemas or tables, regardless of what you've set up on the Metabase side.
If you can’t solve your problem using the troubleshooting guides:
Вы можете оставить комментарий после Вход в систему
Неприемлемый контент может быть отображен здесь и не будет показан на странице. Вы можете проверить и изменить его с помощью соответствующей функции редактирования.
Если вы подтверждаете, что содержание не содержит непристойной лексики/перенаправления на рекламу/насилия/вульгарной порнографии/нарушений/пиратства/ложного/незначительного или незаконного контента, связанного с национальными законами и предписаниями, вы можете нажать «Отправить» для подачи апелляции, и мы обработаем ее как можно скорее.
Опубликовать ( 0 )