1 month ago

Admin pages for multiple roles

Posted 1 month ago by ajfick

I know that admin packages for Laravel like Nova or Backpack are geared specifically to only be used by admin users. However, I am working on a listing site that will have a seller role which can create listings on the site (similar to craigslist) and I'd like to be able to use the same CRUD panels / lists that the admins will use for the user role. I feel like that will give the users the most flexibility in terms of modifying their content and filtering their existing content as well. Obviously, sellers will only be able to see their own listings in the CRUD tables, whereas administrators will be able to view all listings.

Is there any way to do this with either Nova or Backpack that is well documented? I assume I can modify their guards if I need to make this work, but will that cause any security issues?

Any input or advice would be great! Thanks!

Please sign in or create an account to participate in this conversation.