Releases: casbin/pycasbin
Releases · casbin/pycasbin
PyCasbin 0.9.0
Bug Fixes
- Fix syntax errors on multiline config sentences.
Features
- Improve RBAC API
- Add rbac_domain functions
- Add
get_implicit_users_for_permission() - Support for without space CONF model
- Support for filtered policies
PyCasbin 0.8.4
Fix
- Built-in file adapter supports
save_policy()now.
PyCasbin 0.8.3
Fix
- Remove tests from setup.py packaging to avoid conflict(#40 ).
PyCasbin 0.8.2
- Add python3.8 support.
- Optimize code to improve performance.
- Raise instead of returning exceptions.
PyCasbin 0.8.1
Policy
- Support domain parameters in
get_roles()andget_users().
Bug Fix
- Fixed the error in the Policy that
remove_policy()returns a value of None.
PyCasbin 0.8.0
RBAC API
- Implement the
get_implicit_roles_for_userandget_implicit_permissions_for_user. - Implement the
add_role_for_user_in_domainanddelete_roles_for_user_in_domain.
Policy
- Added
remove_filtered_policy()to Policy.
Enforcement
- Improve the test code for api.
Bug Fix
- Fixed bugs in add/delete/has permission for user api.
PyCasbin 0.7.1
PyCasbin 0.7.0
New
- Added the remove_policy function.
- Pre-compile regular expressions to save performance.
- Efficient implementation for array_remove_duplicates utility function.
- Optimized policy related code.
PyCasbin 0.6.1
Bug Fix
- Fix the bug that Casbin modified global logging settings (#17) .
PyCasbin 0.6.0
New
- Finish Management API.
- Add some RBAC API functions.