الصفحات · Laravilt
Action Authorization
Permissions and visibility control
Control who can see and execute actions.
Can Method
php
Authorize Using Policy
php
Visibility Control
php
Soft Delete Visibility
Built-in actions automatically handle soft-delete visibility:
php
| Action | Visible When | Hidden When |
|---|---|---|
DeleteAction | Record is not trashed | Record is trashed |
RestoreAction | Record is trashed | Record is not trashed |
ForceDeleteAction | Record is trashed | Record is not trashed |
Next Steps
- Styling - Colors and icons
- Confirmation - Modals
- Introduction - Overview