Skip to content

Commit

Permalink
updates README
Browse files Browse the repository at this point in the history
  • Loading branch information
shanerbaner82 committed Oct 10, 2023
1 parent 9d8a109 commit 86878c5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@ class AdminPanelProvider extends PanelProvider
{
return $panel
...
->plugin(PanelRoles::make()->role('admin'))
->plugin(PanelRoles::make()
->roleToAssign('developer')
->restrictedRoles(['admin', 'developer']),
)
}
}
```
Expand Down

0 comments on commit 86878c5

Please sign in to comment.