Laravel Jetstream チーム版 の役割・権限変更

Laravel

変更前

app/Providers/JetstreamServiceProvider.php

        Jetstream::role('editor', 'Editor', [
            'read',
            'create',
            'update',
        ])->description('Editor users have the ability to read, create, and update.');

変更後

app/Providers/JetstreamServiceProvider.php

        Jetstream::role('editor', 'Editor', [
            'read',
            'create',
        ])->description('Editor users have the ability to read and create.');

        Jetstream::role('checker', 'Checker', [
            'read',
            'update',
        ])->description('Editor users have the ability to read and reate update.');

コメント