Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tharindarodrigo authored Feb 27, 2023
1 parent c9cf244 commit d864921
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ In addition to the field added to the **UserResource**. There will be 2 Resource

You can generate Permissions by running
```bash
php artisan permission:sync
php artisan permissions:sync
```

This will not delete any existing permissions. However, if you want to delete all existing permissions, run

```bash
php artisan permission:sync -C|--clean
php artisan permissions:sync -C|--clean
```

#### Example:
Expand All @@ -77,7 +77,7 @@ post.force-delete
Policies will be generated with the respective permission

```bash
php artisan permission:sync -P|--policies
php artisan permissions:sync -P|--policies
```

### Ignoring prompts
Expand All @@ -86,7 +86,7 @@ You can ignore any prompts by add the flag ``-Y`` or ``--yes-to-all``
***Recommended only for new projects as it will replace Policy files***

```bash
php artisan permission:sync -CPY
php artisan permissions:sync -CPY
```

### Adding a Super Admin
Expand Down

0 comments on commit d864921

Please sign in to comment.