abs-auth-rbac-core 0.3.6__py3-none-any.whl → 0.3.8__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of abs-auth-rbac-core might be problematic. Click here for more details.
- abs_auth_rbac_core/rbac/service.py +2 -1
- {abs_auth_rbac_core-0.3.6.dist-info → abs_auth_rbac_core-0.3.8.dist-info}/METADATA +1 -1
- {abs_auth_rbac_core-0.3.6.dist-info → abs_auth_rbac_core-0.3.8.dist-info}/RECORD +4 -4
- {abs_auth_rbac_core-0.3.6.dist-info → abs_auth_rbac_core-0.3.8.dist-info}/WHEEL +0 -0
|
@@ -65,6 +65,7 @@ class RBACService:
|
|
|
65
65
|
self.enforcer = casbin.Enforcer(
|
|
66
66
|
policy_path, adapter
|
|
67
67
|
)
|
|
68
|
+
# self.enforcer.enable_auto_save(False)
|
|
68
69
|
# Load policies
|
|
69
70
|
self.enforcer.load_policy()
|
|
70
71
|
|
|
@@ -478,7 +479,7 @@ class RBACService:
|
|
|
478
479
|
self.enforcer.add_policies(policies)
|
|
479
480
|
|
|
480
481
|
# Save all Casbin changes
|
|
481
|
-
self.enforcer.save_policy()
|
|
482
|
+
# self.enforcer.save_policy()
|
|
482
483
|
|
|
483
484
|
session.commit()
|
|
484
485
|
|
|
@@ -17,7 +17,7 @@ abs_auth_rbac_core/models/user_role.py,sha256=20pqmtJPzlUrI9ulHGouk8XlFgrGG7I6ik
|
|
|
17
17
|
abs_auth_rbac_core/rbac/__init__.py,sha256=oYjtpmfrkEbwWCBAWuRoU1fM4fCpBxkF_lwQrelK1As,79
|
|
18
18
|
abs_auth_rbac_core/rbac/decorator.py,sha256=pEFAW0Nn2iE4KBctPhNOmO_VLeJFDX2V9v2LsCu6kHY,1824
|
|
19
19
|
abs_auth_rbac_core/rbac/policy.conf,sha256=wghhhKxgZH0rPhh1QFrIpq9nevJT3s7OxxvXiU3zzuI,305
|
|
20
|
-
abs_auth_rbac_core/rbac/service.py,sha256
|
|
20
|
+
abs_auth_rbac_core/rbac/service.py,sha256=-rytIbI3wZ2HcTgn6CdkPyge34EgTjGklw9-59_R1iM,38416
|
|
21
21
|
abs_auth_rbac_core/repository/__init__.py,sha256=tuEdEV5HsePiaEg2Jrakf-QOR3evTeS-2Tq5VqbywyU,154
|
|
22
22
|
abs_auth_rbac_core/repository/permission_repository.py,sha256=SQJyyErrrMnTnLJjhwZythPbYVGt5z0N5GJ5fV6Gvuo,541
|
|
23
23
|
abs_auth_rbac_core/repository/role_repository.py,sha256=OEPpWIm_61rOljPEcejqXyOvowYDK8Uh5K_pvRLfb3Y,562
|
|
@@ -28,6 +28,6 @@ abs_auth_rbac_core/service/permission_service.py,sha256=tWasmKe0lr1QokmKzjD08O25
|
|
|
28
28
|
abs_auth_rbac_core/service/role_service.py,sha256=Q68igKS-cArHaq-tqrjWPpptnrXYImRAEwKQep0ZOBQ,633
|
|
29
29
|
abs_auth_rbac_core/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
abs_auth_rbac_core/util/permission_constants.py,sha256=EHM4ZkQmMWR-AyoSEf-pJL-EC_eZ4Q_JEp9w62GknHY,102747
|
|
31
|
-
abs_auth_rbac_core-0.3.
|
|
32
|
-
abs_auth_rbac_core-0.3.
|
|
33
|
-
abs_auth_rbac_core-0.3.
|
|
31
|
+
abs_auth_rbac_core-0.3.8.dist-info/METADATA,sha256=bZDCKixfyeUn3TAx7Gtp5CAXDwmaal9aTPwNNSNvBVA,23654
|
|
32
|
+
abs_auth_rbac_core-0.3.8.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
|
|
33
|
+
abs_auth_rbac_core-0.3.8.dist-info/RECORD,,
|
|
File without changes
|