josehernandezfintecheandomx commented on code in PR #2308:
URL: https://github.com/apache/fineract/pull/2308#discussion_r864857680
##########
fineract-provider/src/main/java/org/apache/fineract/infrastructure/core/config/FineractProperties.java:
##########
@@ -60,5 +60,25 @@ public static class FineractModeProperties {
public boolean isReadOnlyMode() {
return readEnabled && !writeEnabled && !batchEnabled;
}
+
+ public boolean isWriteOnlyMode() {
+ return !readEnabled && writeEnabled && !batchEnabled;
+ }
+
+ public boolean isBatchOnlyMode() {
Review Comment:
Due mixing the setup, you could have Batch only or Read/Write with Batch or
all but just in the first case you will have Batch Only, then block the Read
and Write
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]