Send notification about new platform version only to sysadmins
This commit is contained in:
parent
c39e8568ae
commit
84e39af7c7
@ -98,7 +98,7 @@ public class DefaultNotificationSettingsService implements NotificationSettingsS
|
|||||||
defaultNotifications.create(tenantId, DefaultNotifications.apiFeatureDisabledForSysadmin, sysAdmins.getId());
|
defaultNotifications.create(tenantId, DefaultNotifications.apiFeatureDisabledForSysadmin, sysAdmins.getId());
|
||||||
defaultNotifications.create(tenantId, DefaultNotifications.apiFeatureDisabledForTenant, affectedTenantAdmins.getId());
|
defaultNotifications.create(tenantId, DefaultNotifications.apiFeatureDisabledForTenant, affectedTenantAdmins.getId());
|
||||||
|
|
||||||
defaultNotifications.create(tenantId, DefaultNotifications.newPlatformVersion, sysAdmins.getId(), tenantAdmins.getId());
|
defaultNotifications.create(tenantId, DefaultNotifications.newPlatformVersion, sysAdmins.getId());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -143,7 +143,7 @@ public class DefaultNotifications {
|
|||||||
.rule(DefaultRule.builder()
|
.rule(DefaultRule.builder()
|
||||||
.name("New platform version")
|
.name("New platform version")
|
||||||
.triggerConfig(new NewPlatformVersionNotificationRuleTriggerConfig())
|
.triggerConfig(new NewPlatformVersionNotificationRuleTriggerConfig())
|
||||||
.description("Send notification to system admins and tenant admins when new platform version is available")
|
.description("Send notification to system admins when new platform version is available")
|
||||||
.build())
|
.build())
|
||||||
.build();
|
.build();
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user