Alert Composer ESSRequests 2
Alert Composer ESSRequests 2
Issue:-
Ess job requests by default are secured such that they are accessible to the users who submitted them. Lets assume there are two
users User A and User B, both of these users might have access to submit the same Ess Job, but the ess job request itself that is
submitted by user A would not be visible/actionable by user B and vice versa, even though even though it’s the same ess job.
However, at times there might be a requirement to give access, like when User A has scheduled some jobs and in his absence User
B needs to monitor and action (reschedule/cancel) those requests.
Solution:-
We can make use of fusion data security to provide appropriate access to the ess requests.
FUSION_ORA_ESS.ESS_REQUEST_HISTORY is the table which captures the ess requests submitted by all users, this is already
a registered object and thus data security policies can be built on top of this object. This object has an attribute APPLICATION, that
we will pick to illustrate the solution, You can pick any of the other attributes as need be to build security predicates to control
access to other requests. Once we have a data security policy , this can be given to appropriate job roles , thereby allowing
administration of access to the ess requests.
Step 2 : In the “Manage Database Resources and Policies” search for “ESS_REQUEST_HISTORY” and click
on edit icon.
Step 3 : Goto the conditions tab and click on the add icon to create a new condition (“ALL_HCM_REQUESTS”)
Step 4 : In the create condition page Select SQL predicate option and give the predicate as
“(&TABLE_ALIAS.application = 'EarHcmEss') “
Creating a new Job Role
Step 1 : Identify/Create an appropriate Job role to use. For this example we will create a new job roles with name "ESS Admin
Role All Access"
Login via IT_SECURITY_MANAGER and goto Menu -> Tools -> Security Console
Step 3 : In the Data Security page select the Database Resource as “ESS_REQUEST_HISTORY” in the Data Set option select “All
HCM Request” and in Actions select the below options.
For Cancel Just give the ESS_REQUEST_CANCEL
Step 4 : Add the required users which we want to grant the role to.
Give to the user whom you want, in this use case as HCM_USER10