Beartropy Permissions
Embedding Components
You can embed the permissions manager component in your own views, either as a full manager or individual tables.
Full Permissions Manager
Embed the complete permissions manager with tabs for roles, permissions, and users:
1<livewire:beartropy-permissions::permissions-manager />
Individual Tables
You can also embed individual tables separately:
1{{-- Roles table only --}}2<livewire:beartropy-permissions::roles-table />3 4{{-- Permissions table only --}}5<livewire:beartropy-permissions::permissions-table />6 7{{-- Users table only --}}8<livewire:beartropy-permissions::users-table />
Using a Custom Layout
If you want to wrap the permissions UI in your own layout, set the layout option in the configuration. Set to null to use the component without any layout wrapper.
1// config/beartropy-permissions.php2'layout' => 'layouts.admin',
Current version:
0.1.2