casbin / jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java

Home Page:https://casbin.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dont see any user interactions in casbinJsGetPermissionForUser method

z0mb1ek opened this issue · comments

Hi, there is parameter in method named user, for what purposes is it needed there? method always returns the same thing

moreover in go library i see model.GetPolicy("g", ptype)
I think it should be in java too.

We should port the latest Go Casbin code to jCasbin