Skip to content

Commit

Permalink
Update stores/abac-with-rebac/README.md
Browse files Browse the repository at this point in the history
Co-authored-by: Andrés Aguiar <andres.aguiar@gmail.com>
  • Loading branch information
tmsagarofficial and aaguiarz authored Oct 2, 2024
1 parent c5c7243 commit 667360e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stores/abac-with-rebac/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ type document
define can_view : viewer from published
```

If the attribute is a discrete variable with many possible values, e.g. birth date, age, IP address, and currency amount, then it's not possible to be modeled with pure ReBAC and you need to resort to using [OpenFGA conditions](https://openfga.dev/docs/modeling/conditions).
If the attribute is a discrete variable with many possible values, e.g. birth date, age, IP address, a currency amount, then it's not possible to be modeled with pure ReBAC and you need to resort to using [OpenFGA conditions](https://openfga.dev/docs/modeling/conditions).

If you can model your attribute as a relation, you should do so, as it will make your model simpler and more efficient.

Expand Down

0 comments on commit 667360e

Please sign in to comment.