Skip to content

Instantly share code, notes, and snippets.

@programarivm
Created November 5, 2019 19:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save programarivm/530e8f4f74c78d68a5e6c57df7cdc988 to your computer and use it in GitHub Desktop.
Save programarivm/530e8f4f74c78d68a5e6c57df7cdc988 to your computer and use it in GitHub Desktop.
The acls table is seeded with the permissions data
mysql> select * from acls;
+----+-----------------------------+-------------+---------------------+---------------------+
| id | resource | role | created_at | updated_at |
+----+-----------------------------+-------------+---------------------+---------------------+
| 1 | ReviewController@store | ROLE_BASIC | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 2 | RestaurantController@index | ROLE_EDITOR | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 3 | RestaurantController@show | ROLE_EDITOR | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 4 | RestaurantController@update | ROLE_EDITOR | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 5 | RestaurantController@delete | ROLE_EDITOR | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 6 | ReviewController@delete | ROLE_EDITOR | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 7 | UserController@index | ROLE_EDITOR | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 8 | RestaurantController@index | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 9 | RestaurantController@show | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 10 | RestaurantController@store | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 11 | RestaurantController@update | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 12 | RestaurantController@delete | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 13 | ReviewController@delete | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 14 | UserController@index | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 15 | UserController@show | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 16 | UserController@store | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 17 | UserController@update | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 18 | UserController@delete | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
| 19 | UserController@delete | ROLE_ADMIN | 2019-11-04 21:53:18 | 2019-11-04 21:53:18 |
+----+-----------------------------+-------------+---------------------+---------------------+
19 rows in set (0.03 sec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment