In change form fields editable for CAB_IT_Change Managers

nameisnani
Mega Sage

Hi Team ,

 

CURRENTLY: Anyone can edit the "CAB Required" and "CAB Date/Time" fields


ISSUE: These fields are used by Change Management Team to add changes that are ready for CAB to the appropriate CAB Schedule and will be used in CAB workbench filter - It is not appropriate for users outside of the Change management team to be able to edit these fields


EXPECTED BEHAVIOUR: Only members of Group "CAB_IT_Change Managers" - should be able to edit these fields

 

And it should editable for particular this [ CAB_IT_Change Managers" ] Group . How achieve this requirement please steps .  

 

 

SunilKumarPadh_0-1683709152615.png

 

@Community Alums 

@Prince Arora

@Sandeep Rajput 

@OlaN 

@BharathChintala 

@Vasantharajan N 

@Sagar Pagar 

@itsRakesh 

 

Please provide solution . 

 

Thanks 

2 ACCEPTED SOLUTIONS

BharathChintala
Mega Sage

@nameisnani 

Create an Write ACL on Change request table field level 

you have to write Acl for each field

 

In role give snc_internal

 

check advanced in script write below

if(gs.getUser().isMemberOf('replace sysid of group'){

answer = true;

}else

answer = false;

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

View solution in original post

Hi @nameisnani ,

You need to adjust your ACL.
1) Select the field on which you want to apply the ACL.
2) In the script, you must mention the group's name instead of sys_id.

Thanks,
Rakesh.

View solution in original post

7 REPLIES 7

Vasantharajan N
Giga Sage
Giga Sage

@nameisnani - We have different options to achieve it. You can make the field readonly for others who are not a member of the group you mentioned.

 

1. UI Policy

2. Client Script

3. ACL


Thanks & Regards,
Vasanth

Hi @Vasantharajan N  thanks for QR ,

 

Could you please steps for UI Policy or Cilent Script . to make requirment fullfill 

BharathChintala
Mega Sage

@nameisnani 

Create an Write ACL on Change request table field level 

you have to write Acl for each field

 

In role give snc_internal

 

check advanced in script write below

if(gs.getUser().isMemberOf('replace sysid of group'){

answer = true;

}else

answer = false;

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

Hi @BharathChintala  thanks for response . 

 

As per your instructions i have tried in my PDI . 

SunilKumarPadh_0-1683716397472.pngSunilKumarPadh_1-1683716409500.png

 

 

snc_internal role is not there . 

 

it is not working as expected ,