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..
see Casbin: https://casbin.org/
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 🙂
follow casbin docs
Join the conversation
Sign up to reply, like and follow topics.
Suggested Topics
Want to read more? Browse other topics in Casdoor or view latest topics.
1 / 5
Mar 2024
