- Added `RestrictedUserPermission` migration and model for managing user-role-permission restrictions. - Introduced `UserService`, `RoleService`, and related DTOs for handling user access, role assignments, and permission restrictions. - Created new Livewire components and Blade views for user management, including role/permission assignment modals. - Updated navigation and routing to include the "Users" section under "Access Manager." - Enhanced `RoleService` with methods for retrieving permissions and managing role-user interactions. - Improved UI with permission toggles and streamlined selection features for better user-role management.
17 lines
487 B
PHP
17 lines
487 B
PHP
<?php
|
|
arch('it does not use debug functions')
|
|
->expect(['ds', 'dsd', 'dsq', 'dd', 'ddd', 'dump', 'ray', 'die', 'var_dump', 'sleep', 'exit'])
|
|
->not->toBeUsed();
|
|
|
|
arch('application uses strict types')
|
|
->expect('App')
|
|
->toUseStrictTypes();
|
|
|
|
arch('controllers have exact suffix')
|
|
->expect('App\Http\Controllers')
|
|
->toHaveSuffix('Controller');
|
|
|
|
arch('models do not use http helpers')
|
|
->expect(['request', 'session', 'cookie'])
|
|
->not->toBeUsedIn('App\Models');
|