how to edit request for field in order confirmation with a user which no role

Jiajing Wang
Tera Contributor

no_role Test is a user that no role,why request for field can't edit ?

how to a no role user can edit request for field in order confirmation form.

JiajingWang_0-1678776651028.png

 

 

1 ACCEPTED SOLUTION

@Jiajing Wang 

yes those 2 properties.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

View solution in original post

6 REPLIES 6

Ankur Bawiskar
Tera Patron
Tera Patron

@Jiajing Wang 

There are two system properties which restrict the access to the "Requested For" field and therefore the cartJS.canViewRF() method.

glide.sc.req_for.roles
List of roles (comma-separated) that can update the "Requested for" widget in the service catalog. Blank means all users.
If the user does not have privilege to change requested for, they will not have ability to get other user address details

glide.sc.req_for.roles.default
This property defines a default behavior when there are no roles given in property "glide.sc.req_for.roles". When the value is "allow" and the value of glide.sc.req_for.roles is empty, then any user can request items for other users. While the value is "deny" and the value of glide.sc.req_for.roles is empty then no user can request items for other users.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

@Jiajing Wang 

Thank you for marking my response as helpful.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Jiajing Wang
Tera Contributor

@Ankur Bawiskar 

Thank you very march!

So, how I do? I want request for field is enable which login user doesn't have privilege.

@Jiajing Wang 

did you check the role and system property value?

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader