@aooth/arbac 0.1.71 → 0.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.cjs +719 -196
- package/dist/index.d.cts +346 -13
- package/dist/index.d.mts +346 -13
- package/dist/index.mjs +702 -197
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -69,7 +69,7 @@ When a user has multiple roles that each `allow` the same `(resource, action)`,
|
|
|
69
69
|
// A user with both roles sees ALL tasks (universe wins), not just their tenant.
|
|
70
70
|
```
|
|
71
71
|
|
|
72
|
-
This is the natural `$or` semantic: union of "tenant rows" and "all rows" is "all rows". The takeaway: don't grant an unscoped allow on a resource that other roles are trying to filter. Pinned by the `
|
|
72
|
+
This is the natural `$or` semantic: union of "tenant rows" and "all rows" is "all rows". The takeaway: don't grant an unscoped allow on a resource that other roles are trying to filter. Pinned by the `arbacRowFilter` empty-vs-undefined coercion tests in `packages/arbac-moost/src/db/shared-read-helpers.spec.ts`.
|
|
73
73
|
|
|
74
74
|
## License
|
|
75
75
|
|