- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 02:05 PM
I want to be able to update all fields on a record, if a reference field (to sys_user) is me. (so users can only updated their own record.) It's a profile type record. I don't want person a to update person b address.
BUT
You can sponsor a a profile. Person A would be on person B's record as a sponsor. And I want this sponsor to be able to update on field on person B's profile record.
[table] write - [role] and condition = reference field is ME.
[table].field write - [role] and condition = sponsor field is ME.
It's not working, probably because of the [table] write acl?
Lisa
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 07:44 PM
@kemmy1 You need to define the table level access for sponsor too.
Here is the recommended structure for your table level ACL
[table] write - [role] and condition = reference field is ME.
OR
[role] and condition = sponsor field is ME.
Here is the structure for your field level ACL
For access on fields where the profile owner and sponsor both should have write access
[table].field write - [role] and condition = sponsor field is ME.
OR
[role] and condition = sponsor field is ME.
ACL for those fields where only profile owner can have write access.
[table].field write - [role] and condition = sponsor field is ME.
Hope this helps.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-12-2023 07:44 PM
@kemmy1 You need to define the table level access for sponsor too.
Here is the recommended structure for your table level ACL
[table] write - [role] and condition = reference field is ME.
OR
[role] and condition = sponsor field is ME.
Here is the structure for your field level ACL
For access on fields where the profile owner and sponsor both should have write access
[table].field write - [role] and condition = sponsor field is ME.
OR
[role] and condition = sponsor field is ME.
ACL for those fields where only profile owner can have write access.
[table].field write - [role] and condition = sponsor field is ME.
Hope this helps.