Skip to content

Commit

Permalink
fix: Add a work around for git-issue 1570
Browse files Browse the repository at this point in the history
  • Loading branch information
sitaram-kalluri committed Sep 20, 2023
1 parent 8cea6bf commit e9647ae
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,10 @@ class CommitLogKeyStore
}

bool _isNamespaceAuthorised(String atKey, List<String>? 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.
Expand Down

0 comments on commit e9647ae

Please sign in to comment.