Skip to content

Commit 9b3acfe

Browse files
committed
docs: masking excemption
1 parent 52e3a05 commit 9b3acfe

File tree

5 files changed

+20
-13
lines changed

5 files changed

+20
-13
lines changed

content/docs/_layout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ expand_section_list: ['Self-host']
183183

184184
### [Column Masking](/security/data-masking/column-masking)
185185

186-
### [Access Unmasked Data](/security/data-masking/access-unmasked-data)
186+
### [Masking Exemption](/security/data-masking/access-unmasked-data)
187187

188188
### [Export Masked Data](/security/data-masking/export-masked-data)
189189

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
11
---
2-
title: Access Unmasked Data
2+
title: Masking Exemption
33
---
44

5-
`Workspace Admin` and `DBA` can unmask the data for the users.
5+
<HintBlock type="info">
66

7-
1. Go to the project, click **Manage** > **Masking Exemptions**.
8-
1. Click **Grant Exemption**.
9-
1. Select the user and the database, and click **Confirm**.
7+
Masking precedence: [Masking Exemption](/security/data-masking/access-unmasked-data) > [Global Masking Rule](/security/data-masking/global-masking-rule) > [Column Masking](/security/data-masking/column-masking).
108

11-
![bb-grant-exemption](/content/docs/security/data-masking/bb-grant-exemption.webp)
9+
</HintBlock>
10+
11+
Certain roles can grant masking exemption to the users to access the unmasked data:
12+
13+
- Built-in roles: `Workspace Admin`, `DBA`, `Project Owner`.
14+
- [Custom roles](/docs/administration/custom-roles/): `bb.policies.create`, `bb.policies.update`, `bb.policies.delete`.
1215

13-
1. The selected user can now access the unmasked data.
16+
To grant masking exemption:
1417

15-
![bb-sql-editor-none-masking](/content/docs/security/data-masking/bb-sql-editor-none-masking.webp)
18+
1. Go to the project, click **Manage** > **Masking Exemptions**.
19+
1. Click **Grant Exemption**. You can grant either `Export` or `Query` exemption.
20+
1. Select the user/groups and the database/table, and click **Confirm**.
21+
22+
![bb-grant-exemption](/content/docs/security/data-masking/bb-grant-exemption.webp)

content/docs/security/data-masking/column-masking.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ title: Column Masking
44

55
<HintBlock type="info">
66

7-
The [global masking rule](../global-masking-rule) takes precedence over the column masking.
7+
Masking precedence: [Masking Exemption](/security/data-masking/access-unmasked-data) > [Global Masking Rule](/security/data-masking/global-masking-rule) > [Column Masking](/security/data-masking/column-masking).
88

99
</HintBlock>
1010

11-
In the project level, besides `Workspace Admin` and `DBA`, `Project Owner` can set table columns semantic type to mask the data. However, the [global masking rule](../global-masking-rule) takes precedence over the column masking.
11+
In the project level, besides `Workspace Admin` and `DBA`, `Project Owner` can set table columns semantic type to mask the data.
1212

1313
Go to the **table detail** page, and click the **pen icon** and apply the semantic type.
1414

@@ -20,4 +20,4 @@ Combined with [Semantic Types](/docs/security/data-masking/semantic-types), here
2020

2121
However, if the global masking rule is also applied, the result will be as follows. Because the global masking rule takes precedence over the column masking.
2222

23-
![bb-sql-editor-full-masking](/content/docs/security/data-masking/bb-sql-editor-full-masking.webp)
23+
![bb-sql-editor-full-masking](/content/docs/security/data-masking/bb-sql-editor-full-masking.webp)

content/docs/security/data-masking/global-masking-rule.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Global Masking Rule
44

55
<HintBlock type="info">
66

7-
The [Masking Exemption](/docs/security/data-masking/access-unmasked-data) takes precedence over the global masking rule.
7+
Masking precedence: [Masking Exemption](/security/data-masking/access-unmasked-data) > [Global Masking Rule](/security/data-masking/global-masking-rule) > [Column Masking](/security/data-masking/column-masking).
88

99
</HintBlock>
1010

Binary file not shown.

0 commit comments

Comments
 (0)