Custom Security Code Segment Does Not Return Expected Results When Restricting by Location

(Doc ID 965961.1)

Last updated on MAY 25, 2017

Applies to:

Oracle Human Resources - Version 12.0.6 and later
Information in this document applies to any platform.


On 12.0.6 in Test:

Find Custom Security code is not restricting access as setup when trying to use Dynamic security profile and restrict by location_id

Steps To Reproduce:
The issue can be reproduced at will with the following steps:

1. Setup a dynamic Security Profile, using the Custom Security tab and the following code

ASSIGNMENT.location_id=(SELECT LOC.location_id
FROM hr_locations_all LOC

 E LOC.location_code IN ('HR- New York'))

2. Attach the security profile to a Responsibility using Assign Security Profile window or HR:Security Profile option

3. Login with the Responsibility -> Incorrect data is returned


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