forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ingestion/tableau): human-readable message for PERMISSIONS_MODE_S…
…WITCHED error (datahub-project#10866) Co-authored-by: Harshal Sheth <hsheth2@gmail.com>
- Loading branch information
1 parent
67cbc0f
commit 311e0ba
Showing
3 changed files
with
132 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
metadata-ingestion/tests/integration/tableau/setup/permission_mode_switched_error.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"errors":[ | ||
{ | ||
"message": "One or more of the attributes used in your filter contain sensitive data so your results have been automatically filtered to contain only the results you have permissions to see", | ||
"extensions": { | ||
"severity": "WARNING", | ||
"code": "PERMISSIONS_MODE_SWITCHED", | ||
"properties": { | ||
"workbooksConnection": [ | ||
"projectNameWithin" | ||
] | ||
} | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters