First, add some acls in access.xml
ex: mytable.create, mytable.edit.own, ...
By default, ACL are global, but if you want to create for specific tables, then fork your concerned models (both item and list), by overriding the methods :
- canCreate()
- canEdit()
- canDelete()
...
Then, in those functions call other ACL you will have creted before (mytable.create, mytable.edit.own)
It is simple as that.
By default cook is not generating ll collection of ACL for every table, It would be too much.
A new feature would be to choose wich one to create, but even it become complex for nothing because it is really easy to realize.
Note, that the name of ACL can be what you like, so you can share ACL for several tables.
At the end, you can edit all those permissions in your component configuration (Options), the normal way...
Hope it helps you.