Menu

1 / 3

Implementing Relationship Based Access Control (ReBac) using Node and Oso

DEV Community·Dinesh·6 months ago
#wWlnnsKD
#why#tech#relationship#resource#viewer
Reading 0:00
15s threshold

Modern applications require complex authorization, that's where Relationship-Based Access Control (ReBAC) comes in. I went through this research paper: Relationship-based access control: protection model and policy language in order to understand, learn, and implement it. Here's everything I learned along the way.

Table of Contents

The Paper

Why I Implemented It

Tech Stack

What is Relationship-Based Access Control?

Context in ReBAC

How Authorization Works

The Implementation

The Paper

The paper proposes a type of access control characterized by the relationships between users and resources, and control policies based on those relationships. This allows authorization logic to take into account the context of the relationships, giving a high level of control over how resources are accessed.

Why I Implemented It

While job hunting, I recently came across an assignment where I had to implement ReBAC. I searched what it was, found it genuinely interesting, and here we are.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.