Running Database Queries As The PX Reporting User Without Calling Secpac Returns All Data (Doc ID 2254511.1)

Last updated on APRIL 13, 2017

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 8.0 and later
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 8.2.4.0 and later
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR
---------------
The query 'select * from p6project;' run as the PX Reporting User (default name pxrptuser) returns all data.

EXPECTED BEHAVIOR
-----------------------
The query should not produce any data because 'secpac.set_user' is not called.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

  1. Open SQL Developer or TOAD
  2. Login in using the PX Reporting User (Example: "PXRPTUSER")
  3. Run the query: select * from p6projects;
  4. The query returns all data in the table

Changes

 

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