8 lines
172 B
JavaScript
8 lines
172 B
JavaScript
|
import BaseAbility from './base';
|
||
|
|
||
|
export default class PermissionAbility extends BaseAbility {
|
||
|
get canRead() {
|
||
|
return this.permissions.permissions.length > 0;
|
||
|
}
|
||
|
}
|