Skip to content

Commit 7b3d568

Browse files
Remove Tangent
1 parent 08ba995 commit 7b3d568

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/pages/2025-11/rbac-vs-abac/index.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -296,13 +296,6 @@ const canEdit = isAuthorized({ user, article, action: "edit", environment })
296296

297297
This code is quite a bit more complex than the simple RBAC example, but it scales much better as your authorization logic grows. The `isAuthorized` function just checks to see if there is at least one policy that returns true for the given action and attributes and all the custom logic is handled in the individual policies.
298298

299-
<Tangent>
300-
If you don't like the structure of this code you could use a library like
301-
[CASL](https://casl.js.org/) to define abilities in a more declarative way.
302-
Check out my [full CASL video tutorial](https://youtu.be/gL3BJ8_5Jz8) to learn
303-
more.
304-
</Tangent>
305-
306299
### Benefits of ABAC
307300

308301
This ABAC approach has several major advantages:

0 commit comments

Comments
 (0)