ORA-06598: insufficient INHERIT PRIVILEGES privilege
Cause:
An attempt was made to run an AUTHID CURRENT_USER function or procedure, or to reference a BEQUEATH CURRENT_USER view, and the owner of that function, procedure, or view lacks INHERIT PRIVILEGES privilege on the calling user.
Action:
Either do not call the function or procedure or reference the view, or grant the owner of the function, procedure, or view INHERIT PRIVILEGES privilege on the calling user.