configurePermissions(); Jetstream::createTeamsUsing(CreateTeam::class); Jetstream::updateTeamNamesUsing(UpdateTeamName::class); Jetstream::addTeamMembersUsing(AddTeamMember::class); Jetstream::inviteTeamMembersUsing(InviteTeamMember::class); Jetstream::removeTeamMembersUsing(RemoveTeamMember::class); Jetstream::deleteTeamsUsing(DeleteTeam::class); Jetstream::deleteUsersUsing(DeleteUser::class); } /** * Configure the roles and permissions that are available within the application. */ protected function configurePermissions(): void { Jetstream::defaultApiTokenPermissions(['read']); Jetstream::role('admin', 'Administrator', [ 'create', 'read', 'update', 'delete', ])->description('Administrator users can perform any action.'); Jetstream::role('editor', 'Editor', [ 'read', 'create', 'update', ])->description('Editor users have the ability to read, create, and update.'); } }