[AB-xxx] adding configuration to allow people to click on the honey pot based on an experience level

This commit is contained in:
Sheldan
2024-02-04 20:46:03 +01:00
parent 485782ff16
commit fc887d2f36
4 changed files with 66 additions and 14 deletions

View File

@@ -11,6 +11,7 @@ import java.util.List;
public class HoneyPotFeatureConfig implements FeatureConfig {
public static final String HONEYPOT_ROLE_ID = "honeypotRoleId";
public static final String HONEYPOT_IGNORED_LEVEL = "honeypotIgnoredLevel";
@Override
public FeatureDefinition getFeature() {
@@ -19,6 +20,6 @@ public class HoneyPotFeatureConfig implements FeatureConfig {
@Override
public List<String> getRequiredSystemConfigKeys() {
return Arrays.asList(HONEYPOT_ROLE_ID);
return Arrays.asList(HONEYPOT_ROLE_ID, HONEYPOT_IGNORED_LEVEL);
}
}