[fix] sets treats the license as enabled by default
We need to assume the license is enabled until we're told otherwise by the license plugin. It's required as we should allow the execution of APIs (like cluster health) on a node that just started and didn't receive the cluster state yet. Original commit: elastic/x-pack-elasticsearch@ce5fa68bfa
This commit is contained in:
parent
9121003c47
commit
ca49afddfb
|
@ -45,7 +45,7 @@ public class ShieldActionFilter extends AbstractComponent implements ActionFilte
|
|||
private final AuditTrail auditTrail;
|
||||
private final ShieldActionMapper actionMapper;
|
||||
|
||||
private volatile boolean licenseEnabled;
|
||||
private volatile boolean licenseEnabled = true;
|
||||
|
||||
@Inject
|
||||
public ShieldActionFilter(Settings settings, AuthenticationService authcService, AuthorizationService authzService, SignatureService signatureService,
|
||||
|
|
Loading…
Reference in New Issue