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.

@@ -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
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: abs-auth-rbac-core
3
- Version: 0.3.6
3
+ Version: 0.3.8
4
4
  Summary: RBAC and Auth core utilities including JWT token management.
5
5
  License-Expression: MIT
6
6
  Author: AutoBridgeSystems
@@ -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=WnMvX6WNFEYEGJOg-irPHMRkEI0Q5isIFXkLf1KfzCQ,38362
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.6.dist-info/METADATA,sha256=uF049VGJu6kY8X2s-u1q69Lj8lJZT84807uaSe07f18,23654
32
- abs_auth_rbac_core-0.3.6.dist-info/WHEEL,sha256=M5asmiAlL6HEcOq52Yi5mmk9KmTVjY2RDPtO4p9DMrc,88
33
- abs_auth_rbac_core-0.3.6.dist-info/RECORD,,
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,,