Casbin Forum runs on Casnode, the open-source Discourse-style forum. Try the Casnode demo →
Casbin Forum

Hello! Me again, I'm trying to get how the permission/adapter system works. Any exemple how to restrict some API routes to given users? As "user1" got a "RO" role with a permission attached that restricts him to only use GET methods..

1views
2users
1 minread

Thank you, I've read the docs. Following it, does "Enforcers" and "Adapters" in the Casbin docs refers to "Enforcer" and "Adapter" in Casdoor?

I'm quite confused between theses two. If I'm right, Casdoor implements Casbin so I should follow Casbin docs in order to handle my permissions?

To be quite more precise, once I made an Enforcer (including the correct model/adapter), I don't see how to use them using Casdoor's permission system 🙂

1 / 5
Mar 2024