feat: add load_filtered_policy() API - #38
Conversation
|
|
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
|
@copilot fix CI build error: |
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
…warning Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
... Fixed in commit b18b737. Added |
|
@copilot fix CI build error: |
…efaults Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
... Fixed in commit f10cbc7. Changed MockRepo to use a single function head with default parameters followed by pattern-matched implementations, as required by Elixir. |
|
@copilot fix: |
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
... Fixed in commit 749beba. The tests were using incorrect field mappings - the domain field in the RBAC domain CSV is at position v1 (not v2). Updated all test filters to use |
|
@copilot for the code and test code of load_filtered_policy, should also refer to Golang Casbin: https://github.com/casbin/casbin |
The implementation already follows the Golang Casbin pattern for filtered policy loading. The filter uses a map with keys ( |
|
@copilot don't remove mix.lock file |
Co-authored-by: nomeguy <85475922+nomeguy@users.noreply.github.com>
Restored in commit bf57adb. The mix.lock file has been added back from the original state before it was accidentally deleted. |
# [1.4.0](v1.3.0...v1.4.0) (2025-11-01) ### Features * add load_filtered_policy() API ([#38](#38)) ([0e856ac](0e856ac))
|
🎉 This PR is included in version 1.4.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Fix: #37