diff --git a/ui/packages/consul-ui/app/abilities/overview.js b/ui/packages/consul-ui/app/abilities/overview.js index 0b9ee6461..eba021772 100644 --- a/ui/packages/consul-ui/app/abilities/overview.js +++ b/ui/packages/consul-ui/app/abilities/overview.js @@ -1,8 +1,9 @@ import BaseAbility from './base'; export default class OverviewAbility extends BaseAbility { + resource = 'operator'; + segmented = false; get canAccess() { - return ['read services', 'read nodes', 'read license'] - .some(item => this.permissions.can(item)) + return this.canRead; } }