-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why addPermission() with array insert all slug true! #197
Comments
@haruncpi dd('before', $user->getPermissions());
$user->addPermission($module, $pp);
dd('after', $user->getPermissions()); |
I am sending it with ajax request. The output is But when I send the request 2nd time it works. |
Is it working for you? I can't figure out what is happening behind the scene. It is easy for you to say, what is the reason about that. Please help @konovalov-nk |
@haruncpi were you able to solve the issue? |
I have solved it by making a function @kodeine
|
Fixed issue kodeine#197
I got same issue with @haruncpi |
Example:
But the result in database is (slug column):
Expected Value in Slug Column:
|
This action insert all value as a true at first time but I am passing update=>false and delete=>false
The text was updated successfully, but these errors were encountered: