We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 875fe66 commit eff1759Copy full SHA for eff1759
1 file changed
src/main/java/com/uid2/core/util/MetadataHelper.java
@@ -36,7 +36,7 @@ public static String getMetadataPathName(OperatorType operatorType, int siteId,
36
StoreScope store;
37
Boolean providePrivateSiteData = ConfigStore.Global.getBoolean("provide_private_site_data");
38
if (supportsDecryption) { // Check if decryption is possible
39
- if (operatorType == OperatorType.PUBLIC ) //siteId_public folder
+ if (operatorType == OperatorType.PUBLIC || (providePrivateSiteData == null || !providePrivateSiteData.booleanValue()))
40
{
41
store = new EncryptedScope(new CloudPath(metadataPathName), siteId, true);
42
} else //siteId_private folder
0 commit comments