mirror of
https://github.com/status-im/consul.git
synced 2025-01-29 15:05:04 +00:00
4b8cabce0d
This PR adds routes and an initial landing page for the Cluster Overview page
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))
|
|
}
|
|
}
|