Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davide-casiraghi authored Jun 9, 2019
1 parent 2b43262 commit a6d4bf8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,19 @@ You can install the package via composer:

## Usage

### Authorization
> To work the package aspect that in your user model and table you have a field called **group** that can have this possible values:
- null: Registered user
- 1: Super Admin
- 2: Admin

> Just the users that have **Admin** and **Super admin** privileges can access to the routes that allow to create, edit and delete the blogs, categories and posts. Otherwise you get redirected to the homepage.

### Access to the package
After the package is published this new route will be available:

/laravel-cards
``` /laravel-cards ```

Accessing to this routes you can manage the cards.

Expand Down

0 comments on commit a6d4bf8

Please sign in to comment.