Skip to content

installation > The given role or permission should use guard ` instead of web`. #106

Description

@ayhanbaris

Role name [admin]:

admin

User 'ayhanbaris@yahoo.com' has been created (id: 1)

Konekt\Acl\Exceptions\GuardDoesNotMatch

The given role or permission should use guard `` instead of web.

at vendor/konekt/acl/src/Exceptions/GuardDoesNotMatch.php:12
8▕ class GuardDoesNotMatch extends InvalidArgumentException
9▕ {
10▕ public static function create(string $givenGuard, Collection $expectedGuards)
11▕ {
➜ 12▕ return new static("The given role or permission should use guard {$expectedGuards->implode(', ')} instead of {$givenGuard}.");
13▕ }
14▕ }
15▕

  +18 vendor frames

19 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions