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

@@ -149,6 +149,11 @@ class PermissionAction(str, Enum):
149
149
  EDIT_BILLING = "EDIT_BILLING"
150
150
  CREATE_BILLING = "CREATE_BILLING"
151
151
  VIEW_ASL = "VIEW_ASL"
152
+ CONNECT_ACCOUNT = "CONNECT_ACCOUNT"
153
+ VIEW_IMPORT_DATA = "VIEW_IMPORT_DATA"
154
+ VIEW_WORKFLOW = "VIEW_WORKFLOW"
155
+ VIEW_ERROR_DATA = "VIEW_ERROR_DATA"
156
+
152
157
 
153
158
 
154
159
 
@@ -248,6 +253,8 @@ class PermissionResource(str, Enum):
248
253
  COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS="COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS"
249
254
  BILLING_MANAGEMENT = "BILLING_MANAGEMENT"
250
255
  ASL = "ASL"
256
+ DATA_IMPORT = "DATA_IMPORT"
257
+ INTEGRATION = "INTEGRATION"
251
258
 
252
259
 
253
260
  class PermissionData(NamedTuple):
@@ -259,6 +266,49 @@ class PermissionData(NamedTuple):
259
266
 
260
267
 
261
268
  class PermissionConstants:
269
+
270
+ # EDS Data Import Permissions
271
+ EDS_DATA_IMPORT_CONNECT_ACCOUNT = PermissionData(
272
+ name="Connect Account",
273
+ description="Connect Account",
274
+ module=PermissionModule.EDS,
275
+ resource=PermissionResource.DATA_IMPORT,
276
+ action=PermissionAction.CONNECT_ACCOUNT
277
+ )
278
+
279
+ EDS_DATA_IMPORT_VIEW_IMPORT_DATA = PermissionData(
280
+ name="View Import Data",
281
+ description="View Import Data",
282
+ module=PermissionModule.EDS,
283
+ resource=PermissionResource.DATA_IMPORT,
284
+ action=PermissionAction.VIEW_IMPORT_DATA
285
+ )
286
+
287
+ EDS_DATA_IMPORT_VIEW_WORKFLOW = PermissionData(
288
+ name="View Workflow",
289
+ description="View Workflow",
290
+ module=PermissionModule.EDS,
291
+ resource=PermissionResource.DATA_IMPORT,
292
+ action=PermissionAction.VIEW_WORKFLOW
293
+ )
294
+
295
+ EDS_DATA_IMPORT_VIEW_ERROR_DATA = PermissionData(
296
+ name="View Error Data",
297
+ description="View Error Data",
298
+ module=PermissionModule.EDS,
299
+ resource=PermissionResource.DATA_IMPORT,
300
+ action=PermissionAction.VIEW_ERROR_DATA
301
+ )
302
+
303
+ # EDS Integration Permissions
304
+ EDS_INTEGRATION_CONNECT_ACCOUNT = PermissionData(
305
+ name="Connect Account",
306
+ description="Connect Account",
307
+ module=PermissionModule.EDS,
308
+ resource=PermissionResource.INTEGRATION,
309
+ action=PermissionAction.CONNECT_ACCOUNT
310
+ )
311
+
262
312
  EDS_DASHBOARD_VIEW = PermissionData(
263
313
  name="View EDS Dashboard",
264
314
  description="View EDS Dashboard",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: abs-auth-rbac-core
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: RBAC and Auth core utilities including JWT token management.
5
5
  License: MIT
6
6
  Author: AutoBridgeSystems
@@ -21,7 +21,7 @@ abs_auth_rbac_core/rbac/service.py,sha256=zzHvbROqUpgKSLghJ7bDnxDHWkF1tyMG9XObxu
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
- abs_auth_rbac_core/util/permission_constants.py,sha256=cUEi6S9iNK4jwxevlb4ZNiBUcFSu4wlkN-p-O3-l7xs,95712
25
- abs_auth_rbac_core-0.2.2.dist-info/METADATA,sha256=AzbbtCtxZs_h8TPFcVhWZQ9n7yoCiLRpDPR4cQ4J9DQ,23498
26
- abs_auth_rbac_core-0.2.2.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
- abs_auth_rbac_core-0.2.2.dist-info/RECORD,,
24
+ abs_auth_rbac_core/util/permission_constants.py,sha256=IIX9Ktlx_I0H2lBx9U__tbIMKcHafhc4B0G5rJNQNWA,97334
25
+ abs_auth_rbac_core-0.2.3.dist-info/METADATA,sha256=xz2OJSCnbjyOEw5cdJ-PR53ZzSlh0hTXmLt1HyqLZcI,23498
26
+ abs_auth_rbac_core-0.2.3.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
+ abs_auth_rbac_core-0.2.3.dist-info/RECORD,,