import { FleioId } from '@fleio-api/base-model/base-fleio-object.model';
import { IPermissionModel } from '@fleio-api/core/permissions/model/permission.model';

export interface IUserPermissionsModel {
  user_id: FleioId;
  permissions: {
    [panelName: string]: IPermissionModel[];
  };
  effective_permissions: {
    [panel: string]: {
      [key: string]: boolean;
    };
  };
  panel_display_names: { [panelName: string]: string };
  implicitly_granted: boolean;
}
