From d8e9c0884fa37ade718734151a0e16564ac139e0 Mon Sep 17 00:00:00 2001 From: Bhavya-egov Date: Tue, 3 Oct 2023 12:27:10 +0530 Subject: [PATCH] added organisation encryption model --- data/pg/DataSecurity/SecurityPolicy.json | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/data/pg/DataSecurity/SecurityPolicy.json b/data/pg/DataSecurity/SecurityPolicy.json index 29965b44cb..4977fe62be 100644 --- a/data/pg/DataSecurity/SecurityPolicy.json +++ b/data/pg/DataSecurity/SecurityPolicy.json @@ -465,6 +465,34 @@ } ], "roleBasedDecryptionPolicy": [] + }, + { + "model": "Organisation", + "uniqueIdentifier": { + "name": "id", + "jsonPath": "/id" + }, + "attributes": [ + { + "name": "contactName", + "jsonPath": "contactName", + "patternId": "002", + "defaultVisibility": "PLAIN" + }, + { + "name": "contactMobileNumber", + "jsonPath": "contactMobileNumber", + "patternId": "001", + "defaultVisibility": "PLAIN" + }, + { + "name": "contactEmail", + "jsonPath": "contactEmail", + "patternId": "004", + "defaultVisibility": "PLAIN" + } + ], + "roleBasedDecryptionPolicy": [] } ] }