atk4 / mastercrud

Manipulates ATK CRUD through the force of references
https://atk4.org
MIT License
9 stars 7 forks source link

fieldsRead and fieldsUpdate for mastercrud? #16

Closed rapgithub closed 6 years ago

rapgithub commented 6 years ago

fieldsRead for mastercrud so every new table has different fieldsRead columns setup for display?

thanks

romaninsh commented 6 years ago

This can be injected into CRUD like this:

    'Invoices'=>[
      'Lines'=>[
        ['CRUD', 'canDelete'=>false, 'fieldsRead'=>['name','surname'] ]
      ],
      'Allocations'=>[]