How to fix permission issue with system_profiler?

I keep seeing a Mac popup that says:

You don’t have permission to use the application "system_profiler".

I am using a mid-2011 iMac running El Capitan (10.11.6).

How do I fix the permission issue?