laravel-roles/tests/Unit
Fabian @ Blax Software 7078bc86ea feat: assignRole context + expiry, roleAssignment(), fillable morph keys
- assignRole() takes optional $context and $expiresAt, stored on the pivot
  row. Called without them it behaves exactly as before.
- roleAssignment($role) returns the member's active pivot row (context,
  expires_at, created_at = when it was given), or null.
- RoleMember $fillable gains member_type and member_id. RoleMember::create()
  used to drop them silently, so a direct row for a model without HasRoles
  could not be written.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-06 11:48:00 +02:00
..
HasAccessSourceTest.php feat: Enhance access management with source tracking and revocation 2026-04-26 09:54:57 +02:00
HasAccessTest.php fix: align schema with HasUuids design + add reusable MorphAliasRegistry 2026-04-29 11:48:51 +02:00
HasPermissionsTest.php fix: align schema with HasUuids design + add reusable MorphAliasRegistry 2026-04-29 11:48:51 +02:00
HasRequiredAccessTest.php feat: add HasRequiredAccess trait for OR-combined entity dependencies 2026-04-27 12:35:09 +02:00
HasRolesTest.php feat: assignRole context + expiry, roleAssignment(), fillable morph keys 2026-10-06 11:48:00 +02:00
MigrationAutoLoadTest.php feat: Enhance access management with source tracking and revocation 2026-04-26 09:54:57 +02:00