laravel-silverstripe
laravel-silverstripe copied to clipboard
Member Security
Does the user (Member) security extend to Laravel as well? i.e. In a normal Silverstripe environment I can set up a user to only be able to view certain pages like the home page. Can I use the built in SS security to keep members from seeing pages that are outside of SS CMS pages?
There isn't any built-in support for this, but you can use Silverstripe classes from within your Laravel code so you could (for example) write a Laravel route filter or Auth driver that checks for a logged-in Silverstripe user and their role.
If you do write one, it would be great if you'd consider contributing it to the project!
I'll take a look at this. If I am able to get something solid, I will definitely contribute.