Skip to content

Commit

Permalink
Merge pull request #27 from Althinect/permission-generator
Browse files Browse the repository at this point in the history
Permission and Policy generator
  • Loading branch information
tharindarodrigo authored Feb 26, 2023
2 parents 6ff327c + 29dd3a4 commit b5a19b3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,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 permission:sync -CPY
```

### Adding a Super Admin
Expand Down
2 changes: 1 addition & 1 deletion src/Concerns/HasSuperAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ public function isSuperAdmin(): bool
{
return $this->hasRole('Super Admin');
}
}
}

0 comments on commit b5a19b3

Please sign in to comment.