Enable relational manager table actions based on a policy
I have a policy for my notes table (which is only accessible through a different resource's relational manager) where I want to allow a record to be updated or deleted only by users that have authorization via said policy. Does anyone know how I can go about doing this?
NotePolicy.php
NotesRelationalManager.php (current, non-working attempt)
2 Replies
Maybe something like this
this worked! thank you π