mirror of
https://github.com/status-im/consul.git
synced 2025-03-02 14:20:39 +00:00
9 lines
227 B
JavaScript
9 lines
227 B
JavaScript
|
import BaseAbility from './base';
|
||
|
|
||
|
export default class OverviewAbility extends BaseAbility {
|
||
|
get canAccess() {
|
||
|
return ['read services', 'read nodes', 'read license']
|
||
|
.some(item => this.permissions.can(item))
|
||
|
}
|
||
|
}
|