Skip to content

Commit 456d048

Browse files
committed
fix: bump patch release version
1 parent c2ea3f9 commit 456d048

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "zennit/abac",
33
"description": "Attribute-Based Access Control (ABAC) for Laravel",
4-
"version": "2.0.0",
4+
"version": "2.0.1",
55
"type": "library",
66
"license": "MIT",
77
"keywords": [

docs/CONSUMER_SETUP.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,11 @@ If your models use UUID/custom PKs:
4242

4343
```dotenv
4444
ABAC_PRIMARY_KEY=id
45-
ABAC_FALLBACK_PRIMARY_KEY=_id
4645
ABAC_DEFAULT_POLICY_BEHAVIOR=deny
4746
ABAC_CACHE_FLUSH_ON_WRITE=true
4847
```
4948

50-
Set the model PK normally (`$primaryKey`, `$incrementing`, `$keyType`).
49+
Set the model PK normally (`$primaryKey`, `$incrementing`, `$keyType`). The package reads `ABAC_PRIMARY_KEY` and falls back to `id` when it is not set.
5150

5251
`ABAC_CACHE_FLUSH_ON_WRITE` controls automatic ABAC cache invalidation on policy/check/chain writes.
5352
Keep it `true` for standard behavior, or set it to `false` during large bulk imports and flush cache manually after the batch.

0 commit comments

Comments
 (0)