export enum RoleType {
  ADMIN = 'admin',
  OPERATOR = 'operator',
  VIEWER = 'viewer',
}

export const DEFAULT_ROLE_PERMISSIONS: Record<RoleType, string[]> = {
  [RoleType.ADMIN]: Object.values({} as any), // All permissions
  [RoleType.OPERATOR]: [
    'dashboard:view',
    'agent:execute',
    'task:create',
    'task:view',
    'server:view',
    'server:ssh',
    'standing_order:view',
  ],
  [RoleType.VIEWER]: [
    'dashboard:view',
    'task:view',
    'server:view',
    'standing_order:view',
  ],
};
