Skip to content

Commit

Permalink
Added more information into the README.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
brand committed Apr 24, 2024
1 parent 5b02cff commit d872caa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ php artisan vendor:publish --provider="Brand3000\NovaRolesAndPermissions\Publish
php artisan migrate
```

### Set administrators
Go to your database, find the users table and choose administrators by setting the role_admin column into 1. Additionally, set the supar_admin column into 1 for those who are eligible.
If you have different types of users in your project, feel free to add more role_ columns for future development.

### During development
During development, you have to add all the resources you want to be managed into the array $booleanOptions of the fields() function in the app/Nova/Admin.php nova resource.

Expand Down

0 comments on commit d872caa

Please sign in to comment.