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

@@ -128,6 +128,26 @@ class PermissionAction(str, Enum):
128
128
  CONFIGURE_FORMS="CONFIGURE_FORMS"
129
129
  VIEW_FORM_SUBMISSIONS="VIEW_FORM_SUBMISSIONS"
130
130
  SUBMIT_FORMS="SUBMIT_FORMS"
131
+ SEND_DRAFTS = "SEND_DRAFTS"
132
+ HANDLE_VOICEMAIL_RESPONSES = "HANDLE_VOICEMAIL_RESPONSES"
133
+ PROCESS_PHYSICAL_MAIL = "PROCESS_PHYSICAL_MAIL"
134
+ RESPOND_VIA_FORMS = "RESPOND_VIA_FORMS"
135
+ INITIATE_OUTBOUND_COMMUNICATIONS = "INITIATE_OUTBOUND_COMMUNICATIONS"
136
+ CREATE_EMAIL_CHANNELS = "CREATE_EMAIL_CHANNELS"
137
+ SYNC_EMAIL_CHANNELS = "SYNC_EMAIL_CHANNELS"
138
+ SETUP_VOICEMAIL_CHANNELS = "SETUP_VOICEMAIL_CHANNELS"
139
+ CONFIGURE_PHYSICAL_MAIL_INTAKE = "CONFIGURE_PHYSICAL_MAIL_INTAKE"
140
+ SETUP_FORM_CHANNELS = "SETUP_FORM_CHANNELS"
141
+ CREATE_MESSAGES = "CREATE_MESSAGES"
142
+ UPDATE_MESSAGES = "UPDATE_MESSAGES"
143
+ DELETE_MESSAGES = "DELETE_MESSAGES"
144
+ REASSIGN_MESSAGES = "REASSIGN_MESSAGES"
145
+ ARCHIVE_MESSAGES = "ARCHIVE_MESSAGES"
146
+ VIEW_BILLING = "VIEW_BILLING"
147
+ DELETE_BILLING = "DELETE_BILLING"
148
+ EDIT_BILLING = "EDIT_BILLING"
149
+ CREATE_BILLING = "CREATE_BILLING"
150
+ VIEW_ASL = "VIEW_ASL"
131
151
 
132
152
 
133
153
 
@@ -142,6 +162,7 @@ class PermissionModule(str, Enum):
142
162
  USER_MANAGEMENT = "USER_MANAGEMENT"
143
163
  AI_EMS="AI_EMS"
144
164
  ENTITY_MANAGER="ENTITY_MANAGER"
165
+ ASL = "ASL"
145
166
 
146
167
 
147
168
 
@@ -211,6 +232,10 @@ class PermissionResource(str, Enum):
211
232
  HELP = "HELP"
212
233
  SYSTEM_ACCESS_TRACKING_PERMISSIONS="SYSTEM_ACCESS_TRACKING_PERMISSIONS"
213
234
  ENTITY_MANAGER="ENTITY_MANAGER"
235
+ COMMUNICATION_ACTIONS="COMMUNICATION_ACTIONS"
236
+ COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS="COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS"
237
+ BILLING_MANAGEMENT = "BILLING_MANAGEMENT"
238
+ ASL = "ASL"
214
239
 
215
240
 
216
241
  class PermissionData(NamedTuple):
@@ -222,6 +247,199 @@ class PermissionData(NamedTuple):
222
247
 
223
248
 
224
249
  class PermissionConstants:
250
+ VIEW_BILLING = PermissionData(
251
+ name="View Billing",
252
+ description="View Billing accounts",
253
+ module=PermissionModule.USER_MANAGEMENT,
254
+ resource=PermissionResource.BILLING_MANAGEMENT,
255
+ action=PermissionAction.VIEW_BILLING,
256
+ )
257
+
258
+ DELETE_BILLING = PermissionData(
259
+ name="Delete Billing",
260
+ description="Delete Billing accounts",
261
+ module=PermissionModule.USER_MANAGEMENT,
262
+ resource=PermissionResource.BILLING_MANAGEMENT,
263
+ action=PermissionAction.DELETE_BILLING,
264
+ )
265
+
266
+ EDIT_BILLING = PermissionData(
267
+ name="Edit Billing",
268
+ description="Edit existing Billing accounts",
269
+ module=PermissionModule.USER_MANAGEMENT,
270
+ resource=PermissionResource.BILLING_MANAGEMENT,
271
+ action=PermissionAction.EDIT_BILLING,
272
+ )
273
+
274
+ CREATE_BILLING = PermissionData(
275
+ name="Create Billing",
276
+ description="Create new Billing accounts",
277
+ module=PermissionModule.USER_MANAGEMENT,
278
+ resource=PermissionResource.BILLING_MANAGEMENT,
279
+ action=PermissionAction.CREATE_BILLING,
280
+ )
281
+
282
+ VIEW_ASL = PermissionData(
283
+ name="View ASL",
284
+ description="View ASL",
285
+ module=PermissionModule.ASL,
286
+ resource=PermissionResource.ASL,
287
+ action=PermissionAction.VIEW_ASL,
288
+ )
289
+
290
+ SEND_EMAIL_RESPONSES = PermissionData(
291
+ name="Send Email Responses",
292
+ description="Permission to send email responses",
293
+ module=PermissionModule.EMAIL_PROCESS,
294
+ resource=PermissionResource.COMMUNICATION_ACTIONS,
295
+ action=PermissionAction.SEND_EMAIL_RESPONSES,
296
+ )
297
+
298
+ SEND_DRAFTS = PermissionData(
299
+ name="Send Drafts",
300
+ description="Permission to send drafts",
301
+ module=PermissionModule.EMAIL_PROCESS,
302
+ resource=PermissionResource.COMMUNICATION_ACTIONS,
303
+ action=PermissionAction.SEND_DRAFTS,
304
+ )
305
+
306
+ HANDLE_VOICEMAIL_RESPONSES = PermissionData(
307
+ name="Handle Voicemail Responses",
308
+ description="Permission to handle voicemail responses",
309
+ module=PermissionModule.EMAIL_PROCESS,
310
+ resource=PermissionResource.COMMUNICATION_ACTIONS,
311
+ action=PermissionAction.HANDLE_VOICEMAIL_RESPONSES,
312
+ )
313
+
314
+ PROCESS_PHYSICAL_MAIL = PermissionData(
315
+ name="Process Physical Mail",
316
+ description="Permission to process physical mail",
317
+ module=PermissionModule.EMAIL_PROCESS,
318
+ resource=PermissionResource.COMMUNICATION_ACTIONS,
319
+ action=PermissionAction.PROCESS_PHYSICAL_MAIL,
320
+ )
321
+
322
+ RESPOND_VIA_FORMS = PermissionData(
323
+ name="Respond via Forms",
324
+ description="Permission to respond via forms",
325
+ module=PermissionModule.EMAIL_PROCESS,
326
+ resource=PermissionResource.COMMUNICATION_ACTIONS,
327
+ action=PermissionAction.RESPOND_VIA_FORMS,
328
+ )
329
+
330
+ INITIATE_OUTBOUND_COMMUNICATIONS = PermissionData(
331
+ name="Initiate Outbound Communications",
332
+ description="Permission to initiate outbound communications",
333
+ module=PermissionModule.EMAIL_PROCESS,
334
+ resource=PermissionResource.COMMUNICATION_ACTIONS,
335
+ action=PermissionAction.INITIATE_OUTBOUND_COMMUNICATIONS,
336
+ )
337
+
338
+ CREATE_EMAIL_CHANNELS = PermissionData(
339
+ name="Create Email Channels",
340
+ description="Permission to create email channels",
341
+ module=PermissionModule.EMAIL_PROCESS,
342
+ resource=PermissionResource.COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS,
343
+ action=PermissionAction.CREATE_EMAIL_CHANNELS,
344
+ )
345
+
346
+ SYNC_EMAIL_CHANNELS = PermissionData(
347
+ name="Sync Email Channels",
348
+ description="Permission to sync email channels",
349
+ module=PermissionModule.EMAIL_PROCESS,
350
+ resource=PermissionResource.COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS,
351
+ action=PermissionAction.SYNC_EMAIL_CHANNELS,
352
+ )
353
+
354
+ SETUP_VOICEMAIL_CHANNELS = PermissionData(
355
+ name="Setup Voicemail Channels",
356
+ description="Permission to set up voicemail channels",
357
+ module=PermissionModule.EMAIL_PROCESS,
358
+ resource=PermissionResource.COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS,
359
+ action=PermissionAction.SETUP_VOICEMAIL_CHANNELS,
360
+ )
361
+
362
+ CONFIGURE_PHYSICAL_MAIL_INTAKE = PermissionData(
363
+ name="Configure Physical Mail Intake",
364
+ description="Permission to configure physical mail intake",
365
+ module=PermissionModule.EMAIL_PROCESS,
366
+ resource=PermissionResource.COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS,
367
+ action=PermissionAction.CONFIGURE_PHYSICAL_MAIL_INTAKE,
368
+ )
369
+
370
+ SETUP_FORM_CHANNELS = PermissionData(
371
+ name="Setup Form Channels",
372
+ description="Permission to set up form channels",
373
+ module=PermissionModule.EMAIL_PROCESS,
374
+ resource=PermissionResource.COMMUNICATION_CHANNEL_MANAGEMENT_PERMISSIONS,
375
+ action=PermissionAction.SETUP_FORM_CHANNELS,
376
+ )
377
+
378
+ VIEW_ALL_MESSAGES = PermissionData(
379
+ name="View All Messages",
380
+ description="Permission to view all messages",
381
+ module=PermissionModule.EMAIL_PROCESS,
382
+ resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
383
+ action=PermissionAction.VIEW_ALL_MESSAGES,
384
+ )
385
+
386
+ VIEW_DEPARTMENT_MESSAGES = PermissionData(
387
+ name="View Department Messages",
388
+ description="Permission to view department messages",
389
+ module=PermissionModule.EMAIL_PROCESS,
390
+ resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
391
+ action=PermissionAction.VIEW_DEPARTMENT_MESSAGES,
392
+ )
393
+
394
+ VIEW_OWN_MESSAGES = PermissionData(
395
+ name="View Own Messages",
396
+ description="Permission to view own messages",
397
+ module=PermissionModule.EMAIL_PROCESS,
398
+ resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
399
+ action=PermissionAction.VIEW_OWN_MESSAGES,
400
+ )
401
+
402
+ CREATE_MESSAGES = PermissionData(
403
+ name="Create Messages",
404
+ description="Permission to create messages",
405
+ module=PermissionModule.EMAIL_PROCESS,
406
+ resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
407
+ action=PermissionAction.CREATE_MESSAGES,
408
+ )
409
+
410
+ UPDATE_MESSAGES = PermissionData(
411
+ name="Update Message",
412
+ description="Permission to update messages",
413
+ module=PermissionModule.EMAIL_PROCESS,
414
+ resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
415
+ action=PermissionAction.UPDATE_MESSAGES,
416
+ )
417
+
418
+ DELETE_MESSAGES = PermissionData(
419
+ name="Delete Messages",
420
+ description="Permission to delete messages",
421
+ module=PermissionModule.EMAIL_PROCESS,
422
+ resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
423
+ action=PermissionAction.DELETE_MESSAGES,
424
+ )
425
+
426
+ REASSIGN_MESSAGES = PermissionData(
427
+ name="Reassign Messages",
428
+ description="Permission to reassign messages",
429
+ module=PermissionModule.EMAIL_PROCESS,
430
+ resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
431
+ action=PermissionAction.REASSIGN_MESSAGES,
432
+ )
433
+
434
+ ARCHIVE_MESSAGES = PermissionData(
435
+ name="Archive Messages",
436
+ description="Permission to archive messages",
437
+ module=PermissionModule.EMAIL_PROCESS,
438
+ resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
439
+ action=PermissionAction.ARCHIVE_MESSAGES,
440
+ )
441
+
442
+
225
443
  # AI EMS Permissions
226
444
  AI_EMS_FACILITIES_CREATE = PermissionData(
227
445
  name="Create AI EMS",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: abs-auth-rbac-core
3
- Version: 0.1.12
3
+ Version: 0.1.13
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=q7-N7n4d0zOKvsZsNFQ_6Isl233AnlDcdEkJet
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=TCbgDdtcATTXKJHLdd7NHJdjTf0TaQTYZrzpqqNCC8A,83619
25
- abs_auth_rbac_core-0.1.12.dist-info/METADATA,sha256=uOSZTNGh6mPf8VT0r7fhiiI40-tDlWr9mUtORtP858U,6636
26
- abs_auth_rbac_core-0.1.12.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
- abs_auth_rbac_core-0.1.12.dist-info/RECORD,,
24
+ abs_auth_rbac_core/util/permission_constants.py,sha256=ICnn7mDoNt4_adUcbMjWtBeY2MgJu4F9qS5jRgR3nNU,92039
25
+ abs_auth_rbac_core-0.1.13.dist-info/METADATA,sha256=VwfWf8Rqy0za4bqyTEn3HK22tWuzvcnKgqyRGXyJffE,6636
26
+ abs_auth_rbac_core-0.1.13.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
27
+ abs_auth_rbac_core-0.1.13.dist-info/RECORD,,