casbin / jcasbin

An authorization library that supports access control models like ACL, RBAC, ABAC in Java
https://casbin.org
Apache License 2.0
2.4k stars 464 forks source link

Implement the loadFilteredPolicy() function #66

Closed hsluoyz closed 4 years ago

hsluoyz commented 4 years ago

It is not implemented yet:

https://github.com/casbin/jcasbin/blob/78ea156f09ae4a75579ad563866be66d49887c8e/src/main/java/org/casbin/jcasbin/main/CoreEnforcer.java#L207-L214

I want to fix this because we received a PR: https://github.com/casbin/jcasbin/pull/65

hsluoyz commented 4 years ago

@nodece @GopherJ @xcaptain @fangzhengjin

divy9881 commented 4 years ago

Can I take this issue?

nodece commented 4 years ago

@DivyPatel9881 Okey.

divy9881 commented 4 years ago

This will require the implementation of a Filtered adapter interface.

hsluoyz commented 4 years ago

@DivyPatel9881 do you have time to solve this one?

If Divy doesn't have time, can anyone take this? @nodece @GopherJ @kingiw @dovics @hackerchai I don't want this PR: https://github.com/casbin/jcasbin/pull/65 to be merged.

hsluoyz commented 4 years ago

@tldyl can you take this issue?

hsluoyz commented 4 years ago

Implemented in: https://github.com/casbin/jcasbin/pull/77