Laravel rights management how to achieve local management?

read several laravel permission management packages, such as https://github.com/mrterryh/P., https://github.com/spatie/lar., which are all based on operations, for example, if you have read_articles permission, you can read all articles. If I want to limit reading to only some people"s articles, I have to use Policies to define it myself, so what"s the point of using a rights management package?

Mar.09,2021

the general rights management package is the implemented RBAC (role-based access control). To refine it to obtain different data according to the user, it can be realized through the scope of the Laravel query statement.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3cb13-e883.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3cb13-e883.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?