-
Notifications
You must be signed in to change notification settings - Fork 23
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
Advanced Walkthroughs #484
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for permitio-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great progress.
Please see comments and address them.
|
||
<CodeBlock folderPath="/bulk-check" /> | ||
|
||
Alice can read Blog Post 1, Blog Post 2, and Blog Post 3. The system returns this in one call, saving time and improving |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example is equal to the next one, while the power of bulk-check is checking permissions for multiple users and actions. I recommend changing the bulk check example to check multiple actions on multiple resources.
For example, we want to render the blogs but also check what Alice can edit to disable the edit button on the rest, so we are checking if she can read and edit.
Bob wants to know who can read Blog Post 3. | ||
|
||
```bash | ||
POST /v2/schema/{proj_id}/{env_id}/resources/{resource_id}/authorized_users |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This API call does not exist as authorized_users
is a PDP API. Please fix.
### Example: Bob’s Permissions | ||
|
||
```bash | ||
POST /v2/schema/{proj_id}/{env_id}/users/{user_id}/permissions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same as the previous comment, not sure where this example came from, but it does not exist. Please fix.
process. This step-by-step guide will walk you through configuring and enforcing ReBAC policies using the Permit dashboard. | ||
|
||
:::info Before You Begin | ||
This guide assumes you have already set up your Permit account and have a foundational understanding of ReBAC and the basics |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add links to read more about the basic understanding of ReBAC
No description provided.