How to impersonate person view a from in read only access?

Deepika Ravindr
Tera Contributor

Hi, 

Please any help me in my PDI i was open a CI form using some one as a impersonate and give a All cmdb related roles but the is view in write mode. How can i set a role and how can i set a form is read only mode when i m Changing some one as a impersonate 

2 REPLIES 2

Jaspal Singh
Mega Patron
Mega Patron

You need to modify ACLs to include a check for impersonation using below.

answer = (GlideImpersonate().isImpersonating());

This will return answer as ture & in turn block the access you want to restrict.

Hi jaspal, 

Generally we open CI form in pdi using some as impersonate , that time the will work on read only mode but here the form is open a write mode,

In Pdi suppose we open incident table using impersonate some one , that the incident page is showing read only..I think we don't need to put ACL