abs-auth-rbac-core 0.1.9__py3-none-any.whl → 0.1.10__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.

@@ -819,6 +819,8 @@ class RBACService:
819
819
  # Try with module first
820
820
  if self.enforcer.enforce(role.uuid, resource, action, module):
821
821
  return True
822
+ if self.enforcer.enforce(role.name, resource, action, module):
823
+ return True
822
824
  return False
823
825
 
824
826
  def check_permission_by_role(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: abs-auth-rbac-core
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: RBAC and Auth core utilities including JWT token management.
5
5
  License: MIT
6
6
  Author: AutoBridgeSystems
@@ -17,11 +17,11 @@ 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=Wb2U5O1ci-UEINYJea-430JevpT3NT7FjEB19vkiQg0,32598
20
+ abs_auth_rbac_core/rbac/service.py,sha256=q7-N7n4d0zOKvsZsNFQ_6Isl233AnlDcdEkJet_6p1E,32709
21
21
  abs_auth_rbac_core/schema/__init__.py,sha256=v9xibJ8Wr9k0u6PEYNK0LCGUJD71SB5vxu9BZG0S7tM,46
22
22
  abs_auth_rbac_core/schema/permission.py,sha256=XvxPU68FY0PFgkF4GR2bSrzNvFB8c8OgY_d0JOJvMc8,203
23
23
  abs_auth_rbac_core/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
24
  abs_auth_rbac_core/util/permission_constants.py,sha256=ZADzQ31HQgLPS8oJXMbuSbm-2M30BERPWZppgvvg8Yg,70785
25
- abs_auth_rbac_core-0.1.9.dist-info/METADATA,sha256=QxtDuNjXi-1_l4NuAYYvxLa56KPneakZwgpskB-aTeI,6635
26
- abs_auth_rbac_core-0.1.9.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
- abs_auth_rbac_core-0.1.9.dist-info/RECORD,,
25
+ abs_auth_rbac_core-0.1.10.dist-info/METADATA,sha256=ozoVFh0sgUGlhz0jIdJoYU8ibk7lR9Ykrtt5G-ZK5uk,6636
26
+ abs_auth_rbac_core-0.1.10.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
+ abs_auth_rbac_core-0.1.10.dist-info/RECORD,,