ui: Ignore Service/Node permissions for Overview just use operator (#12693)
This commit is contained in:
parent
264a3ed39e
commit
9516b96d92
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue