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

In the python docs , it's specified that you can put the path

T

Where's your policy and conf

I ve used the python version, it worked for me

T

There are a lot of packages which link to the source code near some important concept

I ll try to make a pull request

T

One thing that I don't like about the docs it that the info about the g function is given in rbac page and it not highlighted enough to show it's importance

The g function is used across pages and one keeps scratching the head what it does

T

I need to add the attribute based now

It is in the docs, but I need to implement that in order to see if that works for me

T

I will try more

But I think once I go into the source a few times I will get better insights and once I understand the ast that it makes, I will be able to debug all my issues

Its not a lot of code

T

Ya you are right . I went into the source code with vscode debugger and found out issue was that g function will take 3 arguments

Gemini sucks, it said me to pass two; while it did that, I wonder why there shouldn't be an error raised by casbin in such a case

Well sure, but I couldn't help myself with it