Imagemagick policy.xml: attempt to perform operation not allowed

I was working on scanning documents, creating pdfs, etc. I used the following imagemagick command

===> identify somefile.pdf

and got the error

identify: attempt to perform an operation not allowed by the security policy ‘gs’…

After some research, I commented the last line in /etc/ImageMagick-7/policy.xml. The archwiki has a huge box at the top of the imagemagick page regarding this issue.

<!-- <policy domain=“delegate” rights=“non” pattern=“gs” /> →

As far as I can tell, there was a security issue(s) with ghostscript and it was addressed, or was it :confused:. Anyone else run into this? Thoughts?

===> identify --version
===> gs --version

ImageMagick 7.0.11-9 Q16 x86_64 2021-04-24
ghostscript 9.54.0