LoginSignup
0
0

More than 1 year has passed since last update.

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

Posted at

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

変更前

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.');

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0