mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
CST-11012 Changed config settings for notify protocol
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -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 #
|
||||
|
Reference in New Issue
Block a user