Go to file
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
.vscode A traits, I fields 2025-06-16 09:49:36 +02:00
config feat: add HasRequiredAccess trait for OR-combined entity dependencies 2026-04-27 12:35:09 +02:00
database/migrations fix(uuid-migration): non-destructive snapshot + verify, plus cleanup command 2026-04-29 13:49:52 +02:00
src feat: assignRole context + expiry, roleAssignment(), fillable morph keys 2026-10-06 11:48:00 +02:00
tests/Unit feat: assignRole context + expiry, roleAssignment(), fillable morph keys 2026-10-06 11:48:00 +02:00
.dockerignore I has permissions trait 2025-07-10 10:29:53 +02:00
.gitattributes A traits, I fields 2025-06-16 09:49:36 +02:00
.gitignore I context logic & tests 2026-03-31 18:56:47 +02:00
README.md A README with Blax Software OSS banner 2026-05-06 12:09:15 +02:00
composer.json feat: add Laravel 13 support 2026-04-16 07:49:51 +02:00
phpunit.xml A ccess 2026-02-24 12:07:32 +01:00
pint.json A more files & structure 2025-06-15 11:56:28 +02:00

README.md

Blax Software OSS

Laravel Roles

Laravel roles and permission system.