export interface Permissions { sections: Permission[]; actions: Permission[]; } export interface Permission { name: string; hasPermission: boolean; }