Skip to content
Available for new work
Pages in Blog

ReferencePremium

CoullWorks Blog for Laravel abilities and policies

Every ability the package registers, which ones are actually checked, and what each policy maps to.

Updated 16 November 2026Back to the package pageBuy

Abilities are plain Gate abilities. The package registers every one as denied until your application defines it, so an ability you do not define is never granted. The panel abilities are the constants of CoullWorks\Blog\Filament\Abilities (Abilities::all() lists them); the AI module keeps its own in CoullWorks\Blog\Ai\Abilities, and the Comments, Analytics and Import modules define theirs in their own panel extensions.

Abilities the package checks#

Applies to every row below: Every ability is registered as denied unless the host defines it (BlogFilamentServiceProvider::boot, after booted).

AbilityGuards
blog.dashboard.viewFilament dashboard widgets.
blog.blogs.manageBlogs resource, blog switcher.
blog.posts.viewPosts list/view.
blog.posts.createCreate post, duplicate, API POST /posts, API media.
blog.posts.updateEdit post, assign category bulk, API PATCH /posts, API media.
blog.posts.deleteDelete post (row/bulk), API DELETE.
blog.posts.publishPublish/unpublish/archive/schedule/featured; API status/featured changes.
blog.revisions.restoreRestore a revision.
blog.categories.manageCategories resource; API categories writes.
blog.tags.manageTags resource; API tags writes.
blog.authors.manageAuthors resource; API authors writes.
blog.redirects.manageRedirects resource and pattern rules.
blog.settings.manageSettings page.
blog.licence.manageLicence page.
blog.ai.useAI Writer, AI refresh; post editor AI disclosure section.
blog.ai.historyAI history.
blog.ai.keysSettings > AI keys and AI sections.
blog.ai.queueAI queue.
blog.comments.moderateComments moderation, post editor comments section, Settings > Comments.
blog.analytics.viewAnalytics widgets.
blog.analytics.manageManual related posts in the post editor.
blog.importImport wizard and history.

Asset names that look like abilities#

blog.css and blog.js are asset file names, not abilities.

Policies#

Applies to every row below: Policies hold no role storage: each method asks the Gate for one ability.

PolicyModel and abilities
PostPolicyModel Post. Maps to: viewAny,view (blog.posts.view); create; update; delete,deleteAny; reorder (update); publish; restoreRevision.
CategoryPolicyModel Category. Maps to: categories.manage for all methods.
TagPolicyModel Tag. Maps to: tags.manage.
AuthorPolicyModel Author. Maps to: authors.manage.
BlogPolicyModel Blog. Maps to: blogs.manage.
RedirectPolicyModel Redirect. Maps to: redirects.manage.
CommentPolicyModel Comment. Maps to: blog.comments.moderate (viewAny, view, update, delete, deleteAny).

Available for new work

UK based · PHP · Python · JS · TS. Every first call is free.