import { EUserRoles } from '../enums/user-types.enum';
import { EModules } from '../enums/modules.enum';

export type AllowedRolesPerModule = { [key in EModules]?: EUserRoles[] }

export const USER_ACCESS_GROUPS = {
  ADMIN_ONLY: [EUserRoles.ADMIN],
  ALL_INTERNAL: [EUserRoles.ADMIN, EUserRoles.USER],
  ALL_ALLOWED: [EUserRoles.ADMIN, EUserRoles.USER, EUserRoles.USER_EXTERNAL, EUserRoles.READ_ONLY],
};
