The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:
TypeScript analyticsbibusiness-intelligencebusinessintelligenceclojuredashboarddatadata-analysisdata-visualizationdatabasemetabasemysqlpostgrespostgresqlreportingslacksql-editorvisualization
Fix numbered list for row and column security section (#70525)
Jacob Joseph9c801dfbd9cf
diff --git a/docs/permissions/row-and-column-security.md b/docs/permissions/row-and-column-security.mdindex c15a9625e42..cc75a2933e0 100644--- a/docs/permissions/row-and-column-security.md+++ b/docs/permissions/row-and-column-security.md@@ -207,24 +207,24 @@ If you want to give someone access to multiple user IDs (e.g., the person should1. Create a SQL question that parses the comma-separated string and filters the table:-```sql-{%raw%}-SELECT *-FROM users_with_values-WHERE user_id = ANY(STRING_TO_ARRAY(REGEXP_REPLACE(TRIM({{user_id}}), '\\s*,\\s*', ','), ','))-{% endraw %}-```--This query:--- Trims whitespace from the user attribute value-- Replaces any spaces around commas with just commas-- Converts the comma-separated string to an array-- Filters rows where the user_id matches any value in the array--The `STRING_TO_ARRAY()` and `REGEXP_REPLACE()` functions are PostgreSQL-specific. To see which functions your database supports, see your database's documentation.--3. Set up the row and column security using this SQL question. See [setting up column security](#setting-up-column-security).+ ```sql+ {%raw%}+ SELECT *+ FROM users_with_values+ WHERE user_id = ANY(STRING_TO_ARRAY(REGEXP_REPLACE(TRIM({{user_id}}), '\\s*,\\s*', ','), ','))+ {% endraw %}+ ```++ This query:++ - Trims whitespace from the user attribute value+ - Replaces any spaces around commas with just commas+ - Converts the comma-separated string to an array+ - Filters rows where the user_id matches any value in the array++ The `STRING_TO_ARRAY()` and `REGEXP_REPLACE()` functions are PostgreSQL-specific. To see which functions your database supports, see your database's documentation.++2. Set up the row and column security using this SQL question. See [setting up column security](#setting-up-column-security).## Preventing row and column security permissions conflicts