abs-auth-rbac-core 0.3.11__tar.gz → 0.3.12__tar.gz

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.

Files changed (33) hide show
  1. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/PKG-INFO +1 -1
  2. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/util/permission_constants.py +17 -0
  3. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/pyproject.toml +1 -1
  4. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/README.md +0 -0
  5. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/__init__.py +0 -0
  6. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/auth/__init__.py +0 -0
  7. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/auth/auth_functions.py +0 -0
  8. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/auth/jwt_functions.py +0 -0
  9. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/auth/middleware.py +0 -0
  10. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/__init__.py +0 -0
  11. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/base_model.py +0 -0
  12. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/gov_casbin_rule.py +0 -0
  13. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/permissions.py +0 -0
  14. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/rbac_model.py +0 -0
  15. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/role_permission.py +0 -0
  16. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/roles.py +0 -0
  17. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/seeder/permission_seeder.py +0 -0
  18. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/user.py +0 -0
  19. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/user_permission.py +0 -0
  20. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/models/user_role.py +0 -0
  21. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/rbac/__init__.py +0 -0
  22. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/rbac/decorator.py +0 -0
  23. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/rbac/policy.conf +0 -0
  24. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/rbac/service.py +0 -0
  25. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/repository/__init__.py +0 -0
  26. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/repository/permission_repository.py +0 -0
  27. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/repository/role_repository.py +0 -0
  28. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/schema/__init__.py +0 -0
  29. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/schema/permission.py +0 -0
  30. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/service/__init__.py +0 -0
  31. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/service/permission_service.py +0 -0
  32. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/service/role_service.py +0 -0
  33. {abs_auth_rbac_core-0.3.11 → abs_auth_rbac_core-0.3.12}/abs_auth_rbac_core/util/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: abs-auth-rbac-core
3
- Version: 0.3.11
3
+ Version: 0.3.12
4
4
  Summary: RBAC and Auth core utilities including JWT token management.
5
5
  License: MIT
6
6
  Author: AutoBridgeSystems
@@ -271,6 +271,7 @@ class PermissionResource(str, Enum):
271
271
  AUTOMATION_ACTION = "AUTOMATION_ACTION"
272
272
  AUTOMATION_INPUT = "AUTOMATION_INPUT"
273
273
  AUTOMATION_HISTORY = "AUTOMATION_HISTORY"
274
+ USER_PROFILE = "USER_PROFILE"
274
275
 
275
276
 
276
277
  class PermissionData(NamedTuple):
@@ -282,6 +283,22 @@ class PermissionData(NamedTuple):
282
283
 
283
284
 
284
285
  class PermissionConstants:
286
+ # User Profile Permissions
287
+ USER_PROFILE_VIEW = PermissionData(
288
+ name="View User Profile",
289
+ description="Permission to view user profile",
290
+ module=PermissionModule.USER_MANAGEMENT,
291
+ resource=PermissionResource.USER_PROFILE,
292
+ action=PermissionAction.VIEW,
293
+ )
294
+ USER_PROFILE_EDIT = PermissionData(
295
+ name="Edit User Profile",
296
+ description="Permission to edit user profile",
297
+ module=PermissionModule.USER_MANAGEMENT,
298
+ resource=PermissionResource.USER_PROFILE,
299
+ action=PermissionAction.EDIT,
300
+ )
301
+
285
302
  # Automation Builder Permissions
286
303
  AUTOMATION_HISTORY_VIEW = PermissionData(
287
304
  name="View Automation History",
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "abs-auth-rbac-core"
3
- version = "0.3.11"
3
+ version = "0.3.12"
4
4
  description = "RBAC and Auth core utilities including JWT token management."
5
5
  authors = [
6
6
  {name = "AutoBridgeSystems", email = "info@autobridgesystems.com"}