ACL not working properly

amaneet
Kilo Contributor

Hi Folks,

I have one custom table/application and have modified one ACL out of the ones which get generated automatically.

My intention is to limit the visibility of records to only those where there are assigned.

So i have modified the read ACL to include one more role(ITIL)

and wrote an advanced script

answer= current.assigned_to==gs.getuserid();

everything works fine except the ITIL users are not able to create new records. Only submit button appears on form (no fields)

If i remove the advanced script from read ACL, they are able to create.

Am i missing something, please guide?

15 REPLIES 15

Table.none gives access to table (records)
Table.* gives to all fields in that table
Table.field_name gives access to particular field



Simple example



Consider a room (table) where it contains some boxes (fields)



For entering into room you need access to room door, that will be given by Table.none,
After entering room you want to access those boxes trough table.*
If you want give access to specific box then give table.boxname.



So with out having access to room you can't get access to boxes, so Table.none is mandate



Here room is table and boxes is fields