Fixes a production/queue-worker failure where `tenant_permissions.workspace_id` could be omitted from INSERTs when persisting permission check results. Changes: - Ensure `workspace_id` is included in the `updateOrCreate()` attributes array (lookup + create merge). - Add a regression test covering a tenant instance without `workspace_id` loaded. Notes: - Queue workers should be restarted (`queue:restart`) after deploy so they pick up the new code. Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #118 |
||
|---|---|---|
| .. | ||
| Deprecation | ||
| Feature | ||
| Support | ||
| Unit | ||
| Pest.php | ||
| TestCase.php | ||