In the python docs , it's specified that you can put the path
Where's your policy and conf
I ve used the python version, it worked for me
There are a lot of packages which link to the source code near some important concept
I ll try to make a pull request
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
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
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
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
Hi, how to debug in casbin?
So I am getting False from the .enforce but I really don't know why. Using justmycode False and trying to debug, but the ast code is too hard to understand

[request_definition]
r = sub, dom, obj, act
[policy_definition]
p = sub, dom, obj, act
[role_definition]
g = _, _, _
[policy_effect]
e = some(where (p.eft == allow))
[matchers]
m = (r.dom == p.dom) && g(r.sub, p.sub) && keyMatch(r.obj, p.obj) && (r.act == p.act)
it should work clearly
