mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This commit is contained in:
parent
8586a2f0c8
commit
696ceb1c3a
1 changed files with 2 additions and 1 deletions
|
@ -124,7 +124,8 @@ export const security = (kibana) => new kibana.Plugin({
|
|||
}
|
||||
|
||||
watchStatusAndLicenseToInitialize(server.plugins.xpack_main, this, async () => {
|
||||
if (securityPlugin.__legacyCompat.license.getFeatures().allowRbac) {
|
||||
const xpackInfo = server.plugins.xpack_main.info;
|
||||
if (xpackInfo.isAvailable() && xpackInfo.feature('security').isEnabled()) {
|
||||
await securityPlugin.__legacyCompat.registerPrivilegesWithCluster();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue