Skip to content

Commit

Permalink
read me updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Nur Alam committed Feb 28, 2023
1 parent 664cc85 commit e80d418
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,20 +295,23 @@ Permissions can be organised by section, example admin section, employee section
*/
'permissions-section' => [
// sample
'admin' => [
'adminland' => [
'users-permissions',
'roles-permissions'
],
'settings' => [
'email-settings-permissions',
RuleController::class, // if permission is from routes
NotificationController::class // if permission is from routes
DepartmentController::class, // if permission is from routes
DesignationController::class, // if permission is from routes
OrganisationController::class // if permission is from routes
],
......,
......,
]
```
Samepe Output:

![Stats](img/permissions-section.png)
## Alternatively generate Permissions
The package allows you to generate permission names by defining resource names.

Expand Down
Binary file added img/permissions-section.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e80d418

Please sign in to comment.