Unauthorized Changes

shid077
Tera Contributor

In the Change Module to Capture the Unauthorized Changes we have a Check Box to capture the Unauthorized changes.

But this field should be only visible to Change Managers.How to achieve this??

Any Suggestion from anyone??

1 REPLY 1

rammohanraomadd
Kilo Guru

Hi,

 

If there is any role specific for change managers then use the below onLoad client script:

 

Script:

if(g_user.hasRole("change_manager"))

 {

     g_form.setReadonly("u_unauthorized_change",false)//Replace u_unauthorized_change with correct field name

 }

else

{

     g_form.setReadonly("u_unauthorized_change",true)//Replace u_unauthorized_change with correct field name

}

 

Regards,

Ram M