Thank you so much for this article. Very nice reading!
I’m trying to implement an access control in my React-node app. Your solution could fit, but let say I have to query the database for 10000 records, how do check each record for authorization? Pull the records and run the can method in each record? I was thinking that I need to use an SQL aproach to retrieve only the allowed records… Any ideas? Thanks!