OnBiponi theme

Permission for new role

  1. Create a middleware as like moderator
  2. Create a alias of the newly created middleware in routeMiddleware of Kernel.php file.
  3. Create directive in DashboardController
  4. User these middleware and directives

Add new option for moderators

  1. Create a role in .env file
  2. Add a role in database permissions table
  3. Change/Update this permission from dashboard
  4. Use this permission option in blade

Labels: ,

© copyright-2020 Rejaul