From 348c486a9fae75ffa8d8b648b63a676b8243f510 Mon Sep 17 00:00:00 2001 From: Filip Grebowski Date: Mon, 27 Jan 2025 13:28:08 +0000 Subject: [PATCH 1/5] Added Access Request and Approval Example in the docs --- .../access-requests-and-approvals.mdx | 117 ++++++++++++++++++ src/components/video/Video.js | 30 ++++- 2 files changed, 146 insertions(+), 1 deletion(-) create mode 100644 docs/modeling/access-requests-and-approvals.mdx diff --git a/docs/modeling/access-requests-and-approvals.mdx b/docs/modeling/access-requests-and-approvals.mdx new file mode 100644 index 00000000..c1af8d66 --- /dev/null +++ b/docs/modeling/access-requests-and-approvals.mdx @@ -0,0 +1,117 @@ +--- +sidebar_position: 6 +title: Implementing Access Requests & Approvals +--- + +In this tutorial, you will learn how to integrate an access request and approval system into your app using Permit.io. We’ll +cover how users can **[request access](https://docs.permit.io/embeddable-uis/element/access-request)** to specific areas of your +application, while admins **review, [approve](https://docs.permit.io/embeddable-uis/element/operation-approval) or deny** those requests effortlessly. + +
+ +--- + +import TimelineStep from "../../src/components/timeline/TimelineStep"; +import TimelineWrapper from "../../src/components/timeline/TimelineWrapper"; +import Video from "../../src/components/video/Video"; + +## What are Permit Elements? + +In this tutorial, we’ll explore **[Permit Elements](https://docs.permit.io/embeddable-uis/overview)** — secure, embeddable UI +components that revolutionize access management for modern applications. These components empower your users to handle **[access +requests](https://docs.permit.io/embeddable-uis/element/access-request)** and approvals directly within your app, delivering a +seamless and user-friendly experience without compromising on security. + +With Permit Elements, you can effortlessly integrate permission management into your app, enabling you to streamline workflows +and maintain robust control over access policies. + +### A demo of Permit Elements + +
+ +