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

Advanced Walkthroughs #484

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

filipermit
Copy link
Collaborator

No description provided.

Copy link

netlify bot commented Jan 8, 2025

Deploy Preview for permitio-docs ready!

Name Link
🔨 Latest commit e65bf7b
🔍 Latest deploy log https://app.netlify.com/sites/permitio-docs/deploys/679409c572b0380008435b8b
😎 Deploy Preview https://deploy-preview-484--permitio-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

docs/overview/create-a-rebac-policy.mdx Outdated Show resolved Hide resolved
docs/overview/create-a-rebac-policy.mdx Outdated Show resolved Hide resolved
docs/overview/create-a-rebac-policy.mdx Show resolved Hide resolved
docs/overview/sync-applications-data.mdx Outdated Show resolved Hide resolved
@gemanor gemanor self-requested a review January 24, 2025 06:40
Copy link
Collaborator

@gemanor gemanor left a 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
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Collaborator

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
Copy link
Collaborator

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

docs/overview/sync-applications-data.mdx Show resolved Hide resolved
docs/overview/sync-applications-data.mdx Outdated Show resolved Hide resolved
docs/overview/sync-applications-data.mdx Outdated Show resolved Hide resolved
docs/overview/sync-applications-data.mdx Outdated Show resolved Hide resolved
docs/overview/sync-applications-data.mdx Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants