export type UpdatePermission = { id: number; principal: number; target: string; action: string; };