“permanently attached to” as: “Permanently attached to” means the magazine is welded, epoxied, or riveted into the magazine well. A firearm with a magazine housed in a sealed magazine well and then welded, epoxied, or riveted into the sealed magazine well meets the definition of “permanently attached to”.The link to the text is https://oag.ca.gov/sites/all/files/agweb/pdfs/firearms/regs/text-adopted-regulations-bullet-button.pdf