Skip to content

Commit

Permalink
removed roles from jetstream and added API page
Browse files Browse the repository at this point in the history
  • Loading branch information
Flatroy committed Jun 25, 2024
1 parent 4e89eae commit c59022b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions app/Providers/JetstreamServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ public function boot(): void
*/
protected function configurePermissions(): void
{
Jetstream::defaultApiTokenPermissions(['read']);
Jetstream::defaultApiTokenPermissions(['*']);

Jetstream::role('admin', 'Administrator', [
/*Jetstream::role('admin', 'Administrator', [
'create',
'read',
'update',
Expand All @@ -56,6 +56,6 @@ protected function configurePermissions(): void
'read',
'create',
'update',
])->description('Editor users have the ability to read, create, and update.');
])->description('Editor users have the ability to read, create, and update.');*/
}
}
4 changes: 2 additions & 2 deletions config/jetstream.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
*/

'features' => [
// Features::termsAndPrivacyPolicy(),
Features::termsAndPrivacyPolicy(),
// Features::profilePhotos(),
// Features::api(),
Features::api(),
Features::teams(['invitations' => true]),
Features::accountDeletion(),
],
Expand Down

0 comments on commit c59022b

Please sign in to comment.