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

Hi, I am new here trying to understand how to use casbin ( if possible efficiently ) for the following usecase.
I am stroing roles of individuals instead of their scopes in JWT( lets assume for now that there is legitimate reason for it ). What i want to do is , i have rules defined for each role and whenever i need to know if a person have access for certain things

I would pass their roles , scope i am looking for to a function that returns true/false

1views
2users
1 minread
1 / 2
Oct 2023