docs/sources/administration/data-source-management/teamlbac/configure-teamlbac-for-loki/index.md
LBAC for data sources is available on Grafana Cloud using a new Loki data source with basic authentication configured. A new data source can be created as described in LBAC Configuration for New Loki Data Source.
We recommend that you remove all permissions for roles and teams that are not required to access the data source. This will help to ensure that only the required teams have access to the data source. The recommended permissions are Admin permission and only add the teams Query permissions that you want to add LBAC for data sources rules for.
logs:read permissions.labels rules.For more information on how to setup LBAC for data sources rules for a Loki data source, refer to Create LBAC for data sources rules for the Loki data source.