Closed prabirshrestha closed 11 months ago
@hackerchai @PsiACE
Noticed this is marked as completed. Curious if we can have a new version released to crates.io
@prabirshrestha use latest v2.1.0: https://github.com/casbin/casbin-rs/releases/tag/v2.1.0
Golang version of Enforcer doesn't load full policy if the adapter is filtered. https://github.com/casbin/casbin/blob/63b2757cc60362d974921cb9065809b617d8b527/enforcer.go#L176-L183.
Would be good if
casbin-rs
also follows similar pattern as loading policies from database could be huge.https://github.com/casbin/casbin-rs/blob/9320add836f2c66204c082e4b4ecf3b4f79fc015/src/enforcer.rs#L265