-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In casbin/dbal-adapter, the loadPolicy method runs select the column ptype, but the table is p_type #1
Comments
@894480109 Indeed, the field names are not exactly the same in different languages, but |
@894480109 are you using 2 or more languages? Like Go and PHP? |
Yes, you are right, another project is Go, but I use PHP, and I have to read the table to show the rbac or privilege list, now I overload the adapter class to solve the problem, can you give some other advice? Thanks! |
Hopefully can use cross the languages with the table structure,Thanks! |
@techoner I think the Go lib should be treated as standard. The PHP side can be modified to use p_type. |
@894480109 It has been fixed in version 2.0. |
Good jobs! Thanks ! |
casbin/casbin#661
The file is src/Adapter.php,on Line 117, Thanks!
The text was updated successfully, but these errors were encountered: