How to allow ITIL users to add delegates only to their own profile, not others.

sssnow
Kilo Contributor

I want to give ITIL users access to add delegate only to their own profile. Is there a trick to compare logged in user and the profile (s)he is going to update. So if both user ids are not matching, we can restrict this operation.

10 REPLIES 10

Alikutty A
Tera Sage

Hi Suman,



The best way to do this is to update the table level create ACL on the delegate table.



You can add the ACL condition as



if (gs.getUserID() == current.user.sys_id){


  answer = true;


}else{


  answer = false;


}



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


Thanks for your reply. unfortunately the ACL is not letting individual users to set their own delegate.


Can you please show a screen print of create and write ACLs in delegate table?



Thanks


Please Hit like, Helpful or Correct depending on the impact of the response


sssnow
Kilo Contributor

find_real_file.png