Changeset d25ba66 for database/seeds/PermissionsTableSeeder.php
- Timestamp:
- 02/24/21 17:04:35 (4 years ago)
- Branches:
- master
- Children:
- 0c07a90
- Parents:
- 1f059b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
database/seeds/PermissionsTableSeeder.php
r1f059b0 rd25ba66 13 13 { 14 14 DB::table('permissions')->insert([ 15 ["name" => "create_user"], // Create new user 16 ["name" => "access_all_users"], // Access to all users to manage 17 ["name" => "create_post"], // Create new post 18 ["name" => "confirm_post"], // Confirm new post 19 ["name" => "access_all_posts"], // Access to all posts to manage 20 ["name" => "publish_all_posts"], // Publish and review all posts 21 ["name" => "publish_post"], // Publish your posts only 22 ["name" => "edit_all_posts"], // Edit all posts 23 ["name" => "edit_post"], // Edit your posts only 24 ["name" => "delete_all_posts"], // Delete all posts 25 ["name" => "delete_post"], // Delete your posts only 26 ["name" => "approve_all_comments"], // Approve comments of your posts and other users posts 27 ["name" => "approve_comment"], // Approve your post comments 28 ["name" => "access_all_categories"], // Access to all categories to manage 15 ["name" => "create_user"], // Create new user 16 ["name" => "access_all_users"], // Access to all users to manage 17 ["name" => "create_post"], // Create new post 18 ["name" => "confirm_post"], // Confirm new post 19 ["name" => "access_all_posts"], // Access to all posts to manage 20 ["name" => "publish_all_posts"], // Publish and review all posts 21 ["name" => "publish_post"], // Publish your posts only 22 ["name" => "edit_all_posts"], // Edit all posts 23 ["name" => "edit_post"], // Edit your posts only 24 ["name" => "delete_all_posts"], // Delete all posts 25 ["name" => "delete_post"], // Delete your posts only 26 ["name" => "approve_all_comments"], // Approve comments of your posts and other users posts 27 ["name" => "approve_comment"], // Approve your post comments 28 ["name" => "access_all_categories"], // Access to all categories to manage 29 ["name" => "access_all_phases"], // Access to all phases 30 ["name" => "create_phase"], // Create new phase 31 ["name" => "edit_phase"], // Edit phase 32 ["name" => "delete_phase"], // Delete phase 33 ["name" => "access_all_post_securities"], // Access to all post securities 34 ["name" => "create_post_securities"], // Create new post security 35 ["name" => "edit_post_securities"], // Edit post security 36 ["name" => "delete_post_securities"], // Delete post security 29 37 ]); 30 38 }
Note:
See TracChangeset
for help on using the changeset viewer.