CMS Blog with Shield Roles and Permissions

Filament 4/5
Also available in Filament 3 version

This project shows how to build a basic blog with admin management for posts, categories, tags, and authors. It features role-based permissions via Filament Shield and includes the free ZenBlog frontend theme.

01J3HNY6AM74G3FXJR6CG083HQ

Get the Source Code:

Only This Example

$9

One-time payment

Full source code for CMS Blog with Shield Roles and Permissions
Downloadable ZIP file with the source code
Lifetime access to this example
GitHub Sign in with GitHub to buy

Sign in first, then complete your $9 checkout.

Best value — all 168 examples

FilamentExamples Membership

$99 /year
or
$199 lifetime
Access to code of all 168 examples
Future new examples and updates included
FilaCheck Pro package licence included
MCP server included
View membership plans

30-day money-back guarantee

How it works

This example is based on the CMS Blog system.

All roles are created, and permissions are granted using the UI of the Filament Shield plugin.

The Post Resource must have additional publish permission. To add such additional permissions, you can define them in the Shield config file under the resources.manage section for the specific resource.

config/filament-shield.php:

use App\Filament\Resources\Posts\PostResource;
 
return [
// ...
 
'resources' => [
'subject' => 'model',
'manage' => [
PostResource::class => [
'viewAny',
'view',
'create',
'update',
'delete',
'publish',
]
],
// ...
],
 
// ...
];
The FULL tutorial is available after the purchase: in the Readme file of the official repository you would get invited to.