An image-forming apparatus in which a replacement part is loaded includes
a discrimination unit that discriminates whether or not identification
data registered in the loaded replacement part correspond to either
inherent data or group data registered in the image-forming apparatus; a
determination unit that, when no correspondence is found in the
discrimination unit, determines in accordance with a registration
condition whether or not a value of the identification data is registered
as the group data; and an establishment unit that establishes approval or
disapproval of use of the loaded replacement part on the basis of a
result of discrimination performed in the discrimination unit or
determination performed in the determination unit.