© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
2 replies
Adudu

Custom permission use filament shield

I am unable to create a permission to attach a new resource to a specific resource in filament v4. I have tried using getPermissionPrefixes() in resource
public static function getPermissionPrefixes(): array
    {
        return [
            'view',
            'view_any',
            'create',
            'update',
            'delete',
            'approve',
        ];
    }
public static function getPermissionPrefixes(): array
    {
        return [
            'view',
            'view_any',
            'create',
            'update',
            'delete',
            'approve',
        ];
    }

But I see it doesn't run into this function.
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Filament shield - Permission management
FilamentFFilament / ❓┊help
14mo ago
how to add filament themes to filament shield permission
FilamentFFilament / ❓┊help
10mo ago
Filament shield
FilamentFFilament / ❓┊help
3mo ago
Filament Shield
FilamentFFilament / ❓┊help
2y ago