01-30-2023 02:30 AM
Hi,
We are looking for a way to give an user the access to Request History page where the user should only be able to see requests from a certain endpoint only.
We tested the below things:
1) We changed the Access to Endpoints in Sav Role
This did not work. The user was able to see all the requests from all the endpoints.
2) Used View all requests submitted for the endpoint(s) retrieved option in Request History of sav role
This opens a box to write HQL query:
We tried the below queries
i) select a from Endpoints a where a.id=16 - NOT SHOWING REQUESTS THAT HAVE MULTIPLE ENDPOINTS.
Like, these below requests are not shown to the sav role user.
ii) select a from Endpoints a where a.id in (select ed.id from Endpoints ed where ed.endpointname like '%SAP%') - NOT WORKING
iii) select a from Endpoints a where a.id in (16,17,18) - NOT SHOWING REQUESTS WITH MULTIPLE ENDPOINTS
iv) select a from Endpoints a where a.id=16 UNION select a from Endpoints a where a.id=18 - SHOWING ONLY ENDPOINT ID 16 REQUESTS
v) select a from Endpoints a where a.id=16 and a.id=18 - NOT WORKING
01-30-2023 03:25 AM
02-02-2023 03:41 AM
Hi @rushikeshvartak .
This did not work..
Kept the HQL as
select a from Endpoints a where a.customproperty6='RequestHistorySAP'
And populated cp6 as RequestHistorySAP for 4 SAP endpoints, but only those requests were visible which were requested for single endpoint...
02-02-2023 05:46 AM
Single endpoint meaning just one application one time not multiple in one request ?
02-02-2023 06:31 AM
Yes,
The admin sav role user is able to see those requests which has multiple endpoints, but these requests are not visible to the sav role user, for which that HQL is configured.
So, suppose we configured the HQL
select a from Endpoints a where a.customproperty6='RequestHistorySAP'
for SAV Role "SAV_Test"
And suppose these below are all the requests that ADMIN sav role user can see
RequestId Request Type Requested For Requested By Request Submit Date Due Date Assignee Endpoints Request Origin Status
123456 | Grant Access | TestUser123 | Haardik Verma (username) | 01-Feb-2023 16:58:28 | 11-Feb-2023 16:58:28 | TestManager | SAP1, SAP2 | UI | Completed |
654321 | Grant Access | TestUser321 | Haardik Verma (username) | 31-Jan-2023 14:25:37 | 10-Feb-2023 14:25:37 | TestManager | SAP2, SAP3 | UI | Completed |
123654 | Grant Access | TestUser345 | Haardik Verma (username) | 31-Jan-2023 14:25:37 | 10-Feb-2023 14:25:37 | TestManager | SAP2 | UI | Completed |
123789 | Grant Access | TestUser543 | Haardik Verma (username) | 31-Jan-2023 14:25:37 | 10-Feb-2023 14:25:37 | TestManager | SAP3 | UI | Completed |
CASE 1: customproperty6=RequestHistorySAP for the endpoints SAP2
Outcome: The "SAV_Test" Sav role user is only able to see the Request 123654
Expected: he should be able to see request 123456, 654321 and 123654
CASE 2: customproperty6=RequestHistorySAP for the endpoints SAP2 and SAP3
Outcome: The "SAV_Test" Sav role user is only able to see the Request 123654 and 123789
Expected: he should be able to see all 4 requests
CASE 3: customproperty6=RequestHistorySAP for the endpoints SAP1
Outcome: The "SAV_Test" Sav role user is not able to see any Request.
Expected: he should be able to see Request 123456
02-03-2023 01:06 PM
I see this as defect, when request is raised for multiple application. Please raise Freshdesk ticket
02-05-2023 09:02 PM
@haardik_verma The issue was replicable even in EIC higher version. I suggest reaching out to Saviynt and for resolution please post here.
03-03-2023 03:55 AM
Let me just explain how it is working , when we have multiple endpoints in ars table it is stored as comma separated values,
03-09-2023 08:39 PM
Thanks for the valueable inputs @rushikeshvartak @Manu269 and @Darshanjain .
We did raise Saviynt ticket last week and they have taken this up with their engineering team.
I will update here as soon as it is fixed.