ACL - Arghhh. Make all fields read only, except for 2

Josh80
Tera Expert

Hello

I've done a lot with ACLs but for some reason having difficulty with what I would think should be a simple thing.

LOCATIONS (cmn_location table)

I want to:

Disallow write access to all fields except for 2 fields (Contact and a custom 'comments' field).

ITIL can basically read locations, but only an onboarding groups should be able to modify 'contact' and 'comments'.

For 'write' there's a 'cmn_locaton.*'   that has no role attached; and cmn_location.u_comments and cmn_location.contact with the proper user role to allow them to edit.   With this in place, the write is blocked by an out of box ACL. */write/record

If I use cmn_location/none with a specific role (admin only), all fields are still locked.

If I use cmn_location/none with Admin role AND cmn_location.*, all fields are still locked.

*writerecordtrue

cmn_location.*writerecordtrueglide.maint

2016-12-14 11:25:39

Previewcmn_location.u_commentswriterecordtrue

016-12-14 11:17:13

Previewcmn_location.contactwriterecordtrue

2016-12-14 10:51:18

Previewcmn_location.*readrecordtrue

2016-06-02 13:16:44

5 REPLIES 5

no worries at all took me a LOT of broken acl's to almost understand them....



i will emphasize that ANYTIME you mess with acl's you do EXTENSIVE testing in all roles even those you think won't be affected to ensure you are getting the desired results.. you can do SERIOUS damage by mistake with an acl...