6
2 Comments

Quick demo for a plug-&-play authorization API, to manage access control

Hey everyone,

We have been building things with my friends for quite a while. But me and my friends hate building authorizations again, and again.

From time to time we work on projects as commissioners, building a flexible and future-proof access control is overwhelming. Also, there are tons of solutions for Authentication, but not much for Authorization.

Usually, people use Django like frameworks or their own boilerplates. But it becomes vain over time, and while focusing on your daily work it's hard to update those.

So we build a plug-&-play API for that. I wanted to share a quick guide.

Here's a quick video:
Permify | Plug-&-Play API

So how do you handle your Authorization?

posted to Icon for group Developers
Developers
on December 29, 2021
  1. 2

    I've done very basic Authorization integration before and it's definitely painful. Good job on the demo, I like that you just have to add in a simple Provider and a Permission (btw I think you should call it Permission or Permify instead of PermifyComponent, feels too verbose) around the UI element to control whether the user can access it or not.

    Questions:

    1. I noticed that the permission type is a string that you add, could you make it a function so I create dynamic permission controls? For example if the user has x and y permission let them as access etc.

    2. How are the users connected into that UI to manage permissions?

    3. Do you provide Authentication as well? If not, you should def write a guide on the recommended way to do Authentication for devs, whether it's Firebase, Supabase, passport js etc. The reason is if someone is doing authorization, they for sure need authentication as well.

    Overall fantastic work, you should put this on HN, folks there always have strong opinions, for better or worse :)

    1. 1

      Hey Sukh,

      Thanks for the feedback! Really appreciate it.

      1. We're building ABAC and policies where you'd be able to do that.
      2. Simple conf. with link sessions etc.
      3. Unfortunately we do not offer Authentication, but actually, you can use any auth. the method you want. - Perhaps we'll make a guide for both-
Trending on Indie Hackers
I launched on Product Hunt today with 0 followers, 0 network, and 0 users. Here's what I learned in 12 hours. User Avatar 125 comments The most underrated distribution channel in SaaS is hiding in your browser toolbar User Avatar 108 comments I gave 7 AI agents $100 each to build a startup. Here's what happened on Day 1. User Avatar 72 comments A simple LinkedIn prospecting trick that improved our lead quality User Avatar 60 comments I changed AIagent2 from dashboard-first to chat-first. Does this feel clearer? User Avatar 39 comments Show IH: RetryFix - Automatically recover failed Stripe payments and earn 10% on everything we win back User Avatar 32 comments