laravel-roles/database/migrations
Fabian @ Blax Software 20d94caa33 feat: Enhance access management with source tracking and revocation
- Added source_id and source_type fields to the Access model to track the origin of access grants.
- Implemented source relationship in the Access model for better access management.
- Introduced revokeBySource method to delete access entries based on their source.
- Updated grantAccess and revokeAccess methods to handle source parameters for more granular control.
- Added RevokesAccessOnDelete trait to automatically revoke access when the source model is deleted.
- Created SourceAccessesRevoked event to notify when access grants are revoked due to source deletion.
- Enhanced tests to cover new source-related functionality and ensure proper behavior during access management.
- Updated RolesServiceProvider to support auto-loading migrations based on configuration.
- Added migration files for creating roles and access tables, including source columns for existing installations.
2026-04-26 09:54:57 +02:00
..
2025_01_01_000001_create_blax_role_tables.php feat: Enhance access management with source tracking and revocation 2026-04-26 09:54:57 +02:00
2025_01_01_000002_create_blax_access_table.php feat: Enhance access management with source tracking and revocation 2026-04-26 09:54:57 +02:00
2026_04_26_000001_add_source_to_accesses_table.php feat: Enhance access management with source tracking and revocation 2026-04-26 09:54:57 +02:00