Cannot Use Privileges After Switching Container Via An "After Log On" Trigger (Doc ID 2248088.1)

Last updated on MARCH 27, 2017

Applies to:

Oracle Database - Standard Edition - Version 12.1.0.1 and later
Information in this document applies to any platform.

Symptoms

Any common user with the select privilege on a table in a different schema is able to query the table after the container is changed.  When a logon trigger is used to change the container for the common user, the select from the same table fails with ORA-00942.

 Setting up the user:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms