Closed airliajsmith closed 4 years ago
Not sure if this is a bug or something on my end. Is the Admin role supposed to be able to edit the menu? I get a 403, User does not have the right roles.
Here is the seeder from your code:
$user = User::create([ 'name' => 'AJ', 'email' => 'test@test.com', 'email_verified_at' => now(), 'password' => 'taken out for security', // password 'remember_token' => Str::random(10), 'menuroles' => 'user,admin' ]); $user->assignRole('admin');
Sorry, this was my error. I will try to fix longer before posting.
Not sure if this is a bug or something on my end. Is the Admin role supposed to be able to edit the menu? I get a 403, User does not have the right roles.
Here is the seeder from your code: