how to allow edit access to "Requested For" in my instances.

Andrew Meza
Tera Expert

I am trying to open the "Request For" to be allowed to edit when a end user checks out in service portal. I can but its because I'm an "Admin"(at least I think, or inherited something). I have other ITIL users that need to be able to change this field but its greyed out for them. Would anyone know how to give the ITIL users the editing capability?

find_real_file.png

1 ACCEPTED SOLUTION

Actually I found out the answer, thanks to @Ankur Bawiskar . It was a simple property! glide.sc.req_for.roles.default 
and glide.sc.req_for.roles .

View solution in original post

8 REPLIES 8

Pooja Mallikarj
Kilo Sage

Hi Andrew,

Please add the roles in Create Roles of the 'Permission' section of the 'Request For' variable please find the below screenshot for reference.

find_real_file.png

Thanks,

Pooja M

Yousaf
Giga Sage

Hi Andrew,

If above solution doesnt work try this. if thats on catalog task table.

Check out the 'sc_task.*' write ACL and add your role there.  It's restricted to 'itil' by default. 
There may also be several field-specific ACLs on the 'task' table that you'll need to adjust. 
You would do this (if needed) by creating a field-level ACL on the 'sc_task' table to override what's being set at the 'task' table level.

Mark Correct or Helpful if it helps.


***Mark Correct or Helpful if it helps.***

Andrew Meza
Tera Expert

both of the answers above did not work for me. When I impersonate another ITIL user its still greyed out.

Hi Andrew,

Try to create a catalog ui policy with below script in Execute if True.

function onCondition() {
if(g_user.hasRole('itil'))
    {
        g_form.setReadOnly('requester',false);
    }
else
    {
        g_form.setReadOnly('requester',true);
    }
}

Thanks,

Pooja M