Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #37 from patientsknowbest/feature/phr-7179
Browse files Browse the repository at this point in the history
PHR-7179 Feature switch for new document encryption
  • Loading branch information
karsaig authored Sep 28, 2020
2 parents ccbfaad + b3fc062 commit 34378e6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/src/main/java/com/pkb/common/config/PkbConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ public interface PkbConfig extends BaseConfig {

boolean isConversationAssignEnabled();
boolean isConversationArchiveEnabled();
boolean isDocumentDplEncryptionEnabled();
}
5 changes: 5 additions & 0 deletions config/src/main/java/com/pkb/common/config/PkbConfigImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@ public boolean isConversationAssignEnabled() {
public boolean isConversationArchiveEnabled() {
return storage.getBoolean("feature.conversationArchiveEnabled", false);
}

@Override
public boolean isDocumentDplEncryptionEnabled() {
return storage.getBoolean("feature.documentDplEncryptionEnabled", false);
}
}

0 comments on commit 34378e6

Please sign in to comment.