Toolbar Button Visible Even If User Has No Access To Underlying Component (Doc ID 2128040.1)

Last updated on APRIL 22, 2016

Applies to:

PeopleSoft Enterprise HCM Talent Acquisition Manager - Version 9.2 to 9.2 [Release 9]
Information in this document applies to any platform.

Symptoms

When they navigate to the Job Opening, they see a button in the toolbar named "Search Job Opening". When they click this button, the system throws an error as the user doesn't have access to the component.

The expected behavior would have been that that button would have been hidden if the user doesn't have access.


ERROR
-----------------------
You are not authorized for this page.

Message
You are not authorized to access this component. (40,20)
You have not been granted security authorization for the component you are attempting to access. You may have access to the designated component and page, but not in the specified action mode (such as Correction or Update/Display). Contact your system administrator.



The issue can be reproduced with the following steps:

Step 1. Clone permission list HCCPRS1040
Note: there is by default no permission with HRS_JO_360 and not HRS_JO_FIND_JOB, hence we need to clone the vanilla permission list
 
Step 2. Remove access to “Find Job Openings”
Note in our case we only want to grant access to browse job opening for certain users
 
Step 3. Modify role “Hiring Manager”
 
Step 4. Modify permission list HCCPRS1040 to BEI_HCCPRS1040
Note in our case we clone the permission list and named in BEI_HCCPRS1040

In our case we had to deploy the job opening
Step 5. Deploy search definition HC_HRS_JOB_OPENING
 
Step 6. Build search definition HC_HRS_JOB_OPENING
 
Wait for it to complete
 
Step 7. Logout
Step 8. Login as HCRUSA_KU0007
 
Step 9. Navigate to Browse Job Opening
Navigation: Recruitment > Browse Job Opening
 
Step 10. Click on a Job Opening
 
Step 11. Click on the button “Search Job Openings” in the toolbar
 



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