import { USER_SCOPES } from '@/constants/entities/Scope';

interface IAccessController {
  scopes: typeof USER_SCOPES;
  haveOneOfScope: (scopes: USER_SCOPES[]) => boolean;
}
export function hasPermissionToAddToList(accessController: IAccessController) {
  return accessController.haveOneOfScope([
    USER_SCOPES.MILITARY_RECRUIT_SPECIALIST,
  ]);
}
