As the public function destroy(Permission $permission){} method is available in the resource controller, why you used other get method? I am using the below. Is there any problem using such: public function destroy(Permission $permission) { $permission->delete(); return redirect()->route('permissions.index')->with('success', 'Successfully Deleted!'); }
in the deleting part sir, I have error like this "The LDAP connection [mysql] does not exist." I am using Laravel Permission, along with LDAP Record 2 for our internal laravel authentication in our domain
it doesn't work with Laravel 11, when I try to use this `php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"` it will error
Please read this post: How to install and setup spatie roles & permission package in Laravel 11 www.fundaofwebit.com/post/how-to-install-and-setup-spatie-roles-and-permission-in-laravel-11
I try to make a permission but i got a error and it's "SQLSTATE[HY000]: General error: 1364 Field 'guard_name' doesn't have a default value". what should i do now???
Best tutorial....boht km log laravel10 pr kaam krwa rhy hn and you are one of those rares
your tutorial is very clear,thank you
if I used the UI package for the authentication instead of breeze would that change something or would it be a problem??
when i try and return the $permission date in the edit function it only returns "guard_name".. why?
As the public function destroy(Permission $permission){} method is available in the resource controller, why you used other get method? I am using the below. Is there any problem using such:
public function destroy(Permission $permission)
{
$permission->delete();
return redirect()->route('permissions.index')->with('success', 'Successfully Deleted!');
}
Great video sir, 👍 well done...
thanks for your time
in the deleting part sir, I have error like this
"The LDAP connection [mysql] does not exist." I am using Laravel Permission, along with LDAP Record 2 for our internal laravel authentication in our domain
hello , from minute 38 it ot working with me !!
Great Sir.
it doesn't work with Laravel 11, when I try to use this `php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"` it will error
Please read this post: How to install and setup spatie roles & permission package in Laravel 11
www.fundaofwebit.com/post/how-to-install-and-setup-spatie-roles-and-permission-in-laravel-11
sir great video, please create video for laravel filamentphp
Hi, how to implement toggle input instead of checkbox on givepermission page?
It's the same. Just search how to design the checkbox as toggle button.
I try to make a permission but i got a error and it's "SQLSTATE[HY000]: General error: 1364 Field 'guard_name' doesn't have a default value". what should i do now???
your fillable
Can you post a link to the sorce code you wrote in the video ?
It's written same : www.fundaofwebit.com/post/laravel-10-spatie-user-roles-and-permissions-tutorial
Create vedio on multi tanent
38:00
Sir we requested in SPA MEANS LARAVEL VUE 3
Hi. Yes I understand.
Will be uploading soon.
Laravel as backend api and Vue 3 as frontend.
@@fundaofwebit waiting sir loving ur work
git link on that code plz