tskrio / seedling

Tasks for Today
https://tskr.io
MIT License
15 stars 7 forks source link

Add canUpdate, and canDelete to records #104

Open jacebenson opened 2 years ago

jacebenson commented 2 years ago

So when you want to

so canUpdaet, and canDelete would be non-real fields on the model/table, that take in some code like, xyz role can see the record, and maybe xyz user is the logged in user

jacebenson commented 2 years ago

Really this should be done on every record, so the form's can also respect this. Imagine a readmany on user, and you can edit your use but no one else.