From e9647ae2b6c19171e9746e121493d99e5b66b3fd Mon Sep 17 00:00:00 2001 From: Sitaram Kalluri Date: Wed, 20 Sep 2023 15:30:46 +0530 Subject: [PATCH] fix: Add a work around for git-issue 1570 --- .../lib/src/log/commitlog/commit_log_keystore.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/at_persistence_secondary_server/lib/src/log/commitlog/commit_log_keystore.dart b/packages/at_persistence_secondary_server/lib/src/log/commitlog/commit_log_keystore.dart index eccc20ee4..1c92a855c 100644 --- a/packages/at_persistence_secondary_server/lib/src/log/commitlog/commit_log_keystore.dart +++ b/packages/at_persistence_secondary_server/lib/src/log/commitlog/commit_log_keystore.dart @@ -338,6 +338,10 @@ class CommitLogKeyStore } bool _isNamespaceAuthorised(String atKey, List? enrolledNamespace) { + // This is work-around for : https://github.com/atsign-foundation/at_server/issues/1570 + if (atKey == 'configkey') { + return true; + } String? keyNamespace = AtKey.fromString(atKey).namespace; // If enrolledNamespace is null or keyNamespace is null, fallback to // existing behaviour - the key is authorized for the client to receive. So return true.