How to give write permission (with ACL or not) to a reference field on company table?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 07:37 AM
Hello Community!
I'm trying to allow users to change reference read-only fields on core_company table but I can't do it.
For example, the "street" field is a reference from cmn_location table street field. I tried to allow the user to read and write (with ACL) all the cmn_location table but even that doesn't allow the users to edit the that reference field on the core_company, it's still ready-only (but not for me since I'm an admin).
Do you have any suggestions on how I could do this?
Thank you all!
Pedro

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 08:16 AM
Do you have an ACL that gives write access to the entire table? You must give write access to the table before you can limit write access to specific fields.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 08:23 AM
Hi,
Try to create ACL for table level and also field lever or * if you need deeper access in that table, if that it's not working try to use debug ACL and see which ACL is failing.
If it was helpful, please give positive feedback.
Thanks,
☆ Community Rising Star 22, 23 & 24 ☆

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 08:35 AM
Hello,
Thank you all for your replies. I've tried all your suggestion before and nothing worked.
I also tried to make all ACL inactive and active one-by-one to see which one would be reponsible for the issue. Still have no clue..
Any other suggestion?
Best regards,
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-14-2020 08:56 AM
Are you scripting your ACL or just using a role? Also have you tried to use debug security? You may want to take a look at this post. Not for the answer but there is a video about using the debug security.