in user.php create relationship with roles
copy and paste role module permission
copy and paste check permissionn middleware insidc http/middleware folder
copy and paset user,rolemoduleand permission controller inside controllers
copy and paset migrations inside database
copy and paste seeder to seed folder
copy and paste views file of module role user permission
copy and passte acl route in web.php
setting up permission
create middleware and copy handler fn and paste in it
now paste one line of code in kernal of middleware in routemiddlware
then set up in web.php
create middleware and copy handler fn and paste in it
now paste one line of code in kernal of middleware in routemiddlware
then set up in web.php
Comments
Post a Comment