diff --git a/dspace-server-webapp/src/main/java/org/dspace/app/rest/authorization/impl/CoarNotifyLdnEnabled.java b/dspace-server-webapp/src/main/java/org/dspace/app/rest/authorization/impl/CoarNotifyLdnEnabled.java index 1878803975..4f2e478693 100644 --- a/dspace-server-webapp/src/main/java/org/dspace/app/rest/authorization/impl/CoarNotifyLdnEnabled.java +++ b/dspace-server-webapp/src/main/java/org/dspace/app/rest/authorization/impl/CoarNotifyLdnEnabled.java @@ -23,7 +23,7 @@ public class CoarNotifyLdnEnabled implements AuthorizationFeature { private ConfigurationService configurationService; @Override public boolean isAuthorized(Context context, BaseObjectRest object) throws SQLException, SearchServiceException { - return configurationService.getBooleanProperty("coar-notify.enable_globally", false); + return configurationService.getBooleanProperty("coar-notify.enable_globally", true); } @Override diff --git a/dspace/config/modules/coar-notify-ldn.cfg b/dspace/config/modules/coar-notify-ldn.cfg index 096c39b8c5..3cf3afa028 100644 --- a/dspace/config/modules/coar-notify-ldn.cfg +++ b/dspace/config/modules/coar-notify-ldn.cfg @@ -5,5 +5,5 @@ #---------------------------------------------------------------# #Boolean to determine if Coar Notify is enabled globally for entire site. -#default => false -coar-notify.enable_globally = true +#default => true +coar-notify.enabled = true diff --git a/dspace/config/modules/rest.cfg b/dspace/config/modules/rest.cfg index 657e02b58d..846d587b31 100644 --- a/dspace/config/modules/rest.cfg +++ b/dspace/config/modules/rest.cfg @@ -52,6 +52,7 @@ rest.properties.exposed = google.recaptcha.mode rest.properties.exposed = cc.license.jurisdiction rest.properties.exposed = identifiers.item-status.register-doi rest.properties.exposed = authentication-password.domain.valid +rest.properties.exposed = coar-notify.enabled #---------------------------------------------------------------# # These configs are used by the deprecated REST (v4-6) module #