abs-auth-rbac-core 0.1.11__tar.gz → 0.1.13__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.
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/PKG-INFO +1 -1
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/util/permission_constants.py +325 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/pyproject.toml +1 -1
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/README.md +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/__init__.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/auth/__init__.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/auth/auth_functions.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/auth/jwt_functions.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/auth/middleware.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/__init__.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/base_model.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/gov_casbin_rule.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/permissions.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/rbac_model.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/role_permission.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/roles.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/seeder/permission_seeder.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/user.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/user_permission.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/user_role.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/rbac/__init__.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/rbac/decorator.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/rbac/policy.conf +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/rbac/service.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/schema/__init__.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/schema/permission.py +0 -0
- {abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/util/__init__.py +0 -0
|
@@ -117,6 +117,37 @@ class PermissionAction(str, Enum):
|
|
|
117
117
|
VIEW_ALL_ANALYTICS="VIEW_ALL_ANALYTICS"
|
|
118
118
|
VIEW_DEPARTMENT_ANALYTICS="VIEW_DEPARTMENT_ANALYTICS"
|
|
119
119
|
MANAGE_DEPARTMENT_ROUTING="MANAGE_DEPARTMENT_ROUTING"
|
|
120
|
+
SYNC_EMAILS="SYNC_EMAILS"
|
|
121
|
+
SEND_EMAIL_RESPONSES="SEND_EMAIL_RESPONSES"
|
|
122
|
+
ACCESS_VOICEMAIL_SYSTEM="ACCESS_VOICEMAIL_SYSTEM"
|
|
123
|
+
TRANSCRIBE_VOICEMAILS="TRANSCRIBE_VOICEMAILS"
|
|
124
|
+
CALLBACK_CONSTITUENTS="CALLBACK_CONSTITUENTS"
|
|
125
|
+
SCAN_PHYSICAL_MAIL="SCAN_PHYSICAL_MAIL"
|
|
126
|
+
OCR_DOCUMENT_PROCESSING="OCR_DOCUMENT_PROCESSING"
|
|
127
|
+
HANDLE_PHYSICAL_RESPONSES="HANDLE_PHYSICAL_RESPONSES"
|
|
128
|
+
CONFIGURE_FORMS="CONFIGURE_FORMS"
|
|
129
|
+
VIEW_FORM_SUBMISSIONS="VIEW_FORM_SUBMISSIONS"
|
|
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"
|
|
120
151
|
|
|
121
152
|
|
|
122
153
|
|
|
@@ -131,6 +162,7 @@ class PermissionModule(str, Enum):
|
|
|
131
162
|
USER_MANAGEMENT = "USER_MANAGEMENT"
|
|
132
163
|
AI_EMS="AI_EMS"
|
|
133
164
|
ENTITY_MANAGER="ENTITY_MANAGER"
|
|
165
|
+
ASL = "ASL"
|
|
134
166
|
|
|
135
167
|
|
|
136
168
|
|
|
@@ -200,6 +232,10 @@ class PermissionResource(str, Enum):
|
|
|
200
232
|
HELP = "HELP"
|
|
201
233
|
SYSTEM_ACCESS_TRACKING_PERMISSIONS="SYSTEM_ACCESS_TRACKING_PERMISSIONS"
|
|
202
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"
|
|
203
239
|
|
|
204
240
|
|
|
205
241
|
class PermissionData(NamedTuple):
|
|
@@ -211,6 +247,199 @@ class PermissionData(NamedTuple):
|
|
|
211
247
|
|
|
212
248
|
|
|
213
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
|
+
|
|
214
443
|
# AI EMS Permissions
|
|
215
444
|
AI_EMS_FACILITIES_CREATE = PermissionData(
|
|
216
445
|
name="Create AI EMS",
|
|
@@ -1950,6 +2179,102 @@ class PermissionConstants:
|
|
|
1950
2179
|
resource=PermissionResource.ENTITY_MANAGER,
|
|
1951
2180
|
action=PermissionAction.VIEW
|
|
1952
2181
|
)
|
|
2182
|
+
SYNC_EMAILS = PermissionData(
|
|
2183
|
+
name="Sync Emails",
|
|
2184
|
+
description="Permission to sync emails",
|
|
2185
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2186
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2187
|
+
action=PermissionAction.SYNC_EMAILS
|
|
2188
|
+
)
|
|
2189
|
+
|
|
2190
|
+
CONFIGURE_EMAIL_SETTINGS = PermissionData(
|
|
2191
|
+
name="Configure Email Settings",
|
|
2192
|
+
description="Permission to configure email settings",
|
|
2193
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2194
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2195
|
+
action=PermissionAction.CONFIGURE_EMAIL_SETTINGS
|
|
2196
|
+
)
|
|
2197
|
+
|
|
2198
|
+
SEND_EMAIL_RESPONSES = PermissionData(
|
|
2199
|
+
name="Send Email Responses",
|
|
2200
|
+
description="Permission to send email responses",
|
|
2201
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2202
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2203
|
+
action=PermissionAction.SEND_EMAIL_RESPONSES
|
|
2204
|
+
)
|
|
2205
|
+
|
|
2206
|
+
ACCESS_VOICEMAIL_SYSTEM = PermissionData(
|
|
2207
|
+
name="Access Voicemail System",
|
|
2208
|
+
description="Permission to access voicemail system",
|
|
2209
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2210
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2211
|
+
action=PermissionAction.ACCESS_VOICEMAIL_SYSTEM
|
|
2212
|
+
)
|
|
2213
|
+
|
|
2214
|
+
TRANSCRIBE_VOICEMAILS = PermissionData(
|
|
2215
|
+
name="Transcribe Voicemails",
|
|
2216
|
+
description="Permission to transcribe voicemails",
|
|
2217
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2218
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2219
|
+
action=PermissionAction.TRANSCRIBE_VOICEMAILS
|
|
2220
|
+
)
|
|
2221
|
+
|
|
2222
|
+
CALLBACK_CONSTITUENTS = PermissionData(
|
|
2223
|
+
name="Callback Constituents",
|
|
2224
|
+
description="Permission to callback constituents",
|
|
2225
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2226
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2227
|
+
action=PermissionAction.CALLBACK_CONSTITUENTS
|
|
2228
|
+
)
|
|
2229
|
+
|
|
2230
|
+
SCAN_PHYSICAL_MAIL = PermissionData(
|
|
2231
|
+
name="Scan Physical Mail",
|
|
2232
|
+
description="Permission to scan physical mail",
|
|
2233
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2234
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2235
|
+
action=PermissionAction.SCAN_PHYSICAL_MAIL
|
|
2236
|
+
)
|
|
2237
|
+
|
|
2238
|
+
OCR_DOCUMENT_PROCESSING = PermissionData(
|
|
2239
|
+
name="OCR Document Processing",
|
|
2240
|
+
description="Permission to process documents using OCR",
|
|
2241
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2242
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2243
|
+
action=PermissionAction.OCR_DOCUMENT_PROCESSING
|
|
2244
|
+
)
|
|
2245
|
+
|
|
2246
|
+
HANDLE_PHYSICAL_RESPONSES = PermissionData(
|
|
2247
|
+
name="Handle Physical Responses",
|
|
2248
|
+
description="Permission to handle physical mail responses",
|
|
2249
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2250
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2251
|
+
action=PermissionAction.HANDLE_PHYSICAL_RESPONSES
|
|
2252
|
+
)
|
|
2253
|
+
|
|
2254
|
+
CONFIGURE_FORMS = PermissionData(
|
|
2255
|
+
name="Configure Forms",
|
|
2256
|
+
description="Permission to configure forms",
|
|
2257
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2258
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2259
|
+
action=PermissionAction.CONFIGURE_FORMS
|
|
2260
|
+
)
|
|
2261
|
+
|
|
2262
|
+
VIEW_FORM_SUBMISSIONS = PermissionData(
|
|
2263
|
+
name="View Form Submissions",
|
|
2264
|
+
description="Permission to view form submissions",
|
|
2265
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2266
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2267
|
+
action=PermissionAction.VIEW_FORM_SUBMISSIONS
|
|
2268
|
+
)
|
|
2269
|
+
|
|
2270
|
+
SUBMIT_FORMS = PermissionData(
|
|
2271
|
+
name="Submit Forms",
|
|
2272
|
+
description="Permission to submit forms",
|
|
2273
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2274
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2275
|
+
action=PermissionAction.SUBMIT_FORMS
|
|
2276
|
+
)
|
|
2277
|
+
|
|
1953
2278
|
|
|
1954
2279
|
@classmethod
|
|
1955
2280
|
def get_all_permissions(cls) -> List[PermissionData]:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/auth/auth_functions.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/auth/jwt_functions.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/auth/middleware.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/__init__.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/base_model.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/gov_casbin_rule.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/permissions.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/rbac_model.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/role_permission.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/user_permission.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/models/user_role.py
RENAMED
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/rbac/decorator.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/schema/__init__.py
RENAMED
|
File without changes
|
{abs_auth_rbac_core-0.1.11 → abs_auth_rbac_core-0.1.13}/abs_auth_rbac_core/schema/permission.py
RENAMED
|
File without changes
|
|
File without changes
|