- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2018 09:03 AM
End users on this instance have no role. They have read access only to forms that include them as a reader.
The script on the Access Control that allows read access for designated readers (with no role) works:
var answer = false;
if (current.u_readers.indexOf(gs.getUserID() > -1 )) {
answer = true;
}
Next, I need to allow write access for one field (a checkbox for concurrence, called u_customer_concurrence).
When the customer checks the box, the customer's name and date will be populated in additional fields. But I need to allow them to be able to check the box.
I have tried an Access Control of field/write/ u_operation.u_customer_concurrence, with the above-mentioned script that works for readers, but no luck.
I have also tried record/write/u_operation.u_customer_concurrence just out of curiosity but that didn't work either.
Any ideas or suggestions are much appreciated!
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2018 11:46 AM
OK, I got it to work.
The solution is:
write / record / u_operation.* / role: itil
write / record / u_operation.u_customer_concurrence / No role required
The field name overrides the * in the first ACL.
My error was that I had write / field / u_operation.u_customer_concurrence / No role required
Once I switched to write/ record, it worked!
Thanks everyone for your input!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2018 10:04 AM
Hi Cheryl,
Did you check ACL for:
record/write/u_operation
ACL on: <TABLE LEVEL>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2018 10:51 AM
not sure what you mean; the record/write/u_operation at Table Level is for itil role.
thanks,
Cheryl

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2018 10:57 AM
can you check access control with name:
u_operation
type: record
operation: write
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2018 11:29 AM
I do not want the entire record to be writeable by the end user. Must have itil role to write the record. Just one field writeable by end user with no role.