abs-auth-rbac-core 0.3.11__py3-none-any.whl → 0.3.12__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/util/permission_constants.py +17 -0
- {abs_auth_rbac_core-0.3.11.dist-info → abs_auth_rbac_core-0.3.12.dist-info}/METADATA +1 -1
- {abs_auth_rbac_core-0.3.11.dist-info → abs_auth_rbac_core-0.3.12.dist-info}/RECORD +4 -4
- {abs_auth_rbac_core-0.3.11.dist-info → abs_auth_rbac_core-0.3.12.dist-info}/WHEEL +1 -1
|
@@ -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",
|
|
@@ -27,7 +27,7 @@ abs_auth_rbac_core/service/__init__.py,sha256=zzzxVCUYYb4heFksjbktWqbST3IcTcTfOM
|
|
|
27
27
|
abs_auth_rbac_core/service/permission_service.py,sha256=tWasmKe0lr1QokmKzjD08O251_ppTnfN9amqVZX_CCU,661
|
|
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
|
-
abs_auth_rbac_core/util/permission_constants.py,sha256=
|
|
31
|
-
abs_auth_rbac_core-0.3.
|
|
32
|
-
abs_auth_rbac_core-0.3.
|
|
33
|
-
abs_auth_rbac_core-0.3.
|
|
30
|
+
abs_auth_rbac_core/util/permission_constants.py,sha256=XuKlDHTnP_xqwoNOiJfpjLNQuR0P_AfrMqT8k8MCdAQ,103712
|
|
31
|
+
abs_auth_rbac_core-0.3.12.dist-info/METADATA,sha256=I4cq3qwfqUelV28mjQbo513-J_iwVltEKHDqzDsrx88,23644
|
|
32
|
+
abs_auth_rbac_core-0.3.12.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
33
|
+
abs_auth_rbac_core-0.3.12.dist-info/RECORD,,
|