Roles and Permissions - Step 3 - Assigning Multiple Permissions to a Role

blah

We now need to repeat the process we went through in the last post for the permission table. Let's start with scaffolding the permissions table php artisan infyom:scaffold permissions --fromTable --tableName=permissions Next remove the gaurd_name from \resources\views\permissions\show_fields.blade.php and from \resources\views\permissions\fields.blade.php Now you can go ahead and create new permissions. Permissions could include such functions as [...]

Read More...

>

Roles and Permissions - Step 4 - Integrating the assignRoles and assignPermissions into the UI

blah

Having created the functionality and created routes for the functionality it's a relatively straightforward process to integrate this into the existing UI. The current roles screen which was generated by the scaffolder has three icons on the right side of the line for each role. One to view the role, one to edit the role [...]

Read More...

>