Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added tip about attribute limits #247

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/how-to/manage-data/loading-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ in the `user id` and `resource`, you can pass in a whole object that will contai
These attributes are evaluated on each enforcement check. This also gives you the flexibility to pass in **dynamic**
/ **just-in-time** attributes and evaluate these against the policies.

:::info
Both a resource and a user can have multiple attributes attached to them.
There are no practical limits on number of objects or object sizes.
There are limits on the overall data volume that can be loaded to a single PDP, which can be bypassed via [PDP Sharding](https://docs.permit.io/how-to/manage-data/pdp-sharding/).
:::

Here is an example of the code:

```javascript
Expand Down