DROPPING A PROTECTED MATERIALIZED VIEW DOES NOT DROP THE Oracle Label Security (OLS) POLICY
(Doc ID 2196859.1)
Last updated on AUGUST 04, 2018
Applies to:Oracle Database - Enterprise Edition - Version 22.214.171.124 and later
Information in this document applies to any platform.
When a Table has an OLS policy applied, and the Table is dropped, the policy is cleaned up and there are no more records for that Table in DBA_SA_TABLE_POLICIES.
When a Materialized View has an OLS policy applied, and the Materialized View is dropped, the OLS policy is not cleaned up and there is still a record in DBA_SA_TABLE_POLICIES for the Materialize View.
Trying to protect the Materialized View after recreating it gives ORA-12444, implying that the Materialized View is already protected.
The Materialized View is not actually protected now, and users can see data that they do not have privileges to see.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document