pycasbin icon indicating copy to clipboard operation
pycasbin copied to clipboard

An authorization library that supports access control models like ACL, RBAC, ABAC in Python

Results 12 pycasbin issues
Sort by recently updated
recently updated
newest added

commented self.logger.info(req_str) as this will print the logs every time the server starts

There are many users complaining PyCasbin about its bad performance compared to Go or Java. This is mostly because that PyCasbin is a pure Python implementation of Casbin. A common...

enhancement

The current use of `SyncedEnforcer` can meet the multi-threaded situation, And is it possible for `Casbin` to support multi-process use in the future? I try to modify on the basis...

enhancement

Do you have plan to adopt async features.?? Its too slow as compared to Nodejs and Go Implementations.

enhancement

We've been growing our test data set to about 2.5k rules in the policy set, which is making calls to the enforcer quite slow. Is there something that can be...

question

PyCasbin can be used in: https://github.com/dpgaspar/Flask-AppBuilder/search?q=auth

enhancement

# Action I want author to provide some directions about interface design if he agreed. so I or others can have confident in creating PR. # Rationale `AsyncManagementEnforcer.add_function` accept only...

enhancement

1、model.conf ![image](https://github.com/casbin/pycasbin/assets/32121721/9cd37638-a702-4138-8544-50fbdaa0e55f) 2、code: ![image](https://github.com/casbin/pycasbin/assets/32121721/5041e3a1-af32-41a5-8895-227289c759b2) 3、sqlite info ![image](https://github.com/casbin/pycasbin/assets/32121721/f66c78a6-a64c-43fe-9985-e18edde72b65) question: e.get_all_objects() --> ['test.xxx.com'] it should be ['system:get','system:put','system:post']

bug

### Error When Calling `get_implicit_permissions_for_user` In the above scenario, calling the function `get_implicit_permissions_for_user` results in an error. From the code, we can see: ```python def get_named_implicit_permissions_for_user(self, ptype, user, domain="", filter_policy_dom=True):...

bug

Refer to: [management_api.go](https://github.com/casbin/casbin/blob/master/management_api.go)

enhancement