Skip to main content

Black Friday 2025! Only until December 1st: coupon FRIDAY25 for 40% off Yearly/Lifetime membership!

Read more here

Shield Plugin for Roles and Permissions

Premium
5:17

The Full Lesson is Only for Premium Members

Want to access all of our courses? (29 h 14 min)

You also get:

54 courses
Premium tutorials
Access to repositories
Private Discord
Get Premium for $129/year or $29/month

Already a member? Login here

Comments & Discussion

J
johnogle ✓ Link copied!

Thanks for an excellent, timely and comprehensive course, Povilas. I appreciate your teaching style and your being out front on issues such as demonstrating how to install Filament-Shield even though that plugin was in beta at the time of this video.

We open-source devs are always balancing our future proof stances with not being too far out on the bleeding edge of these emerging technologies. This course was well paced and expertly presented -- well worth the subscription price. Thanks, - John Ogle, MD (USA)

N
Nerijus ✓ Link copied!

Shield isn't in beta anymore

J
johnogle ✓ Link copied!

Thanks Nerijus, that is great news...I just checked and the plugin was still in beta for version 4.0 as of 2 hours ago per filamentphp plugins page (they are probably slow to update), I'm happy Shield is out of beta, and my comment above still stands. Will install it ASAP.

N
Nerijus ✓ Link copied!

Dont know how it shows in the filamentphp page but checking versions should always be on

S
steff700 ✓ Link copied!

Its confusing. Github said, its 4.x-beta. The official doc same: "Not compatible with the latest version Supported versions: 2.x - 3.x" What now?

L
LlamaLegend ✓ Link copied!

Excellent course! I would like to see something on creating custom Filament Components.

N
Nerijus ✓ Link copied!

have anything specific in mind?

L
LlamaLegend ✓ Link copied!

umm maybe implementing a radio card component. https://i.ytimg.com/vi/n2vd1LC6nvg/maxresdefault.jpg

N
Nerijus ✓ Link copied!

this is more of a styling using tailwind. what specific details about it you would like to see?

MA
MD ARIF HASSAN ✓ Link copied!

Learned a lot. Awesome one. Thanks

SA
Stephan Apenbrink ✓ Link copied!

Good evening, I just played around with Roles -> Permissions and Policies. Allw works fine, Admin can do anything, Users can only edit/delete records they have created themselves. But I wonder the folowing Situation: User created a Country (he/she can delete / edit it), another User create a Region and has the Country_id as hierarchie. So what happens if the user who deletes the country (delete is set to cascade) even deletes the Region (whatfor he has normaly no permission) ? Is it better not to delete on cascade but let laravel do it by rules ? (Maybe show : Country could not be deleted, Regions are present) ? Or is there a "smarter" way ?

By the way, great course, great Job, a lot of fun and knowledge !

@edit : Just tested it, it will be deleted. Changed all from on delete("cascade") -> ("restrict") and used Povillas Video on youTube for custom validation and delete message but updated it a little bit to F4, it gave a toast success and a toast danger message and it wont be fixed ...... Now my button is gray with a tooltip when the record can't be deletet :-)

Thx still alot of fun -> Project grows !

We'd Love Your Feedback

Tell us what you like or what we can improve

Feel free to share anything you like or dislike about this page or the platform in general.