abs-auth-rbac-core 0.2.0__py3-none-any.whl → 0.2.1__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 +110 -0
- {abs_auth_rbac_core-0.2.0.dist-info → abs_auth_rbac_core-0.2.1.dist-info}/METADATA +1 -1
- {abs_auth_rbac_core-0.2.0.dist-info → abs_auth_rbac_core-0.2.1.dist-info}/RECORD +4 -4
- {abs_auth_rbac_core-0.2.0.dist-info → abs_auth_rbac_core-0.2.1.dist-info}/WHEEL +0 -0
|
@@ -43,6 +43,7 @@ class PermissionAction(str, Enum):
|
|
|
43
43
|
EDIT = "EDIT"
|
|
44
44
|
DELETE = "DELETE"
|
|
45
45
|
MANAGE = "MANAGE"
|
|
46
|
+
DOWNLOAD = "DOWNLOAD"
|
|
46
47
|
CONFIGURE_IMPORTANCE = "CONFIGURE_IMPORTANCE"
|
|
47
48
|
VIEW_FIELD_RESULTS = "VIEW_FIELD_RESULTS"
|
|
48
49
|
UPDATE_STATUS = "UPDATE_STATUS"
|
|
@@ -163,12 +164,23 @@ class PermissionModule(str, Enum):
|
|
|
163
164
|
AI_EMS="AI_EMS"
|
|
164
165
|
ENTITY_MANAGER="ENTITY_MANAGER"
|
|
165
166
|
ASL = "ASL"
|
|
167
|
+
EDS = "EDS"
|
|
166
168
|
|
|
167
169
|
|
|
168
170
|
|
|
169
171
|
class PermissionResource(str, Enum):
|
|
172
|
+
DASHBOARD = "DASHBOARDS"
|
|
170
173
|
WORKFORCE_AGENT = "WORKFORCE_AGENT"
|
|
171
174
|
EPAR = "EPAR"
|
|
175
|
+
EPARS = "EPARS"
|
|
176
|
+
OCFO = "OCFO"
|
|
177
|
+
EDS_ASSISTANT = "EDS_ASSISTANT"
|
|
178
|
+
REPORTS = "REPORTS"
|
|
179
|
+
WORKFLOW = "WORKFLOW"
|
|
180
|
+
FEEDBACK = "FEEDBACK"
|
|
181
|
+
OCFO_TUTORIALS = "OCFO_TUTORIALS"
|
|
182
|
+
EPAR_TUTORIALS = "EPAR_TUTORIALS"
|
|
183
|
+
RECENT_REVIEW_EPARS = "RECENT_REVIEW_EPARS"
|
|
172
184
|
EPAR_PROTRACK_INTEGRATION = "EPAR_PROTRACK_INTEGRATION"
|
|
173
185
|
EPAR_DASHBOARD = "EPAR_DASHBOARD"
|
|
174
186
|
NOTIFICATIONS = "NOTIFICATIONS"
|
|
@@ -247,6 +259,104 @@ class PermissionData(NamedTuple):
|
|
|
247
259
|
|
|
248
260
|
|
|
249
261
|
class PermissionConstants:
|
|
262
|
+
EDS_DASHBOARD_VIEW = PermissionData(
|
|
263
|
+
name="View EDS Dashboard",
|
|
264
|
+
description="View EDS Dashboard",
|
|
265
|
+
module=PermissionModule.EDS,
|
|
266
|
+
resource=PermissionResource.DASHBOARD,
|
|
267
|
+
action=PermissionAction.VIEW,
|
|
268
|
+
)
|
|
269
|
+
EDS_EPARS_VIEW = PermissionData(
|
|
270
|
+
name="View EPARs",
|
|
271
|
+
description="View EPARs",
|
|
272
|
+
module=PermissionModule.EDS,
|
|
273
|
+
resource=PermissionResource.EPARS,
|
|
274
|
+
action=PermissionAction.VIEW,
|
|
275
|
+
)
|
|
276
|
+
EDS_OCFO_VIEW = PermissionData(
|
|
277
|
+
name="View OCFO",
|
|
278
|
+
description="View OCFO",
|
|
279
|
+
module=PermissionModule.EDS,
|
|
280
|
+
resource=PermissionResource.OCFO,
|
|
281
|
+
action=PermissionAction.VIEW,
|
|
282
|
+
)
|
|
283
|
+
EDS_EDS_ASSISTANT_VIEW = PermissionData(
|
|
284
|
+
name="View EDS Assistant",
|
|
285
|
+
description="View EDS Assistant",
|
|
286
|
+
module=PermissionModule.EDS,
|
|
287
|
+
resource=PermissionResource.EDS_ASSISTANT,
|
|
288
|
+
action=PermissionAction.VIEW,
|
|
289
|
+
)
|
|
290
|
+
EDS_REPORTS_VIEW = PermissionData(
|
|
291
|
+
name="View Reports",
|
|
292
|
+
description="View Reports",
|
|
293
|
+
module=PermissionModule.EDS,
|
|
294
|
+
resource=PermissionResource.REPORTS,
|
|
295
|
+
action=PermissionAction.VIEW,
|
|
296
|
+
)
|
|
297
|
+
EDS_EAPR_CREATE = PermissionData(
|
|
298
|
+
name="Create EPAR",
|
|
299
|
+
description="Create EPAR",
|
|
300
|
+
module=PermissionModule.EDS,
|
|
301
|
+
resource=PermissionResource.EPAR,
|
|
302
|
+
action=PermissionAction.CREATE,
|
|
303
|
+
)
|
|
304
|
+
EDS_EPAR_EDIT = PermissionData(
|
|
305
|
+
name="Edit EPAR",
|
|
306
|
+
description="Edit EPAR",
|
|
307
|
+
module=PermissionModule.EDS,
|
|
308
|
+
resource=PermissionResource.EPAR,
|
|
309
|
+
action=PermissionAction.EDIT,
|
|
310
|
+
)
|
|
311
|
+
EDS_EPAR_DOWNLOAD = PermissionData(
|
|
312
|
+
name="Download EPAR",
|
|
313
|
+
description="Download EPAR",
|
|
314
|
+
module=PermissionModule.EDS,
|
|
315
|
+
resource=PermissionResource.EPAR,
|
|
316
|
+
action=PermissionAction.DOWNLOAD,
|
|
317
|
+
)
|
|
318
|
+
EDS_EPAR_VIEW = PermissionData(
|
|
319
|
+
name="View EPAR",
|
|
320
|
+
description="View EPAR",
|
|
321
|
+
module=PermissionModule.EDS,
|
|
322
|
+
resource=PermissionResource.EPAR,
|
|
323
|
+
action=PermissionAction.VIEW,
|
|
324
|
+
)
|
|
325
|
+
EDS_WORKFLOW_VIEW = PermissionData(
|
|
326
|
+
name="View Workflow",
|
|
327
|
+
description="View Workflow",
|
|
328
|
+
module=PermissionModule.EDS,
|
|
329
|
+
resource=PermissionResource.WORKFLOW,
|
|
330
|
+
action=PermissionAction.VIEW,
|
|
331
|
+
)
|
|
332
|
+
EDS_FEEDBACK_VIEW = PermissionData(
|
|
333
|
+
name="View Feedback",
|
|
334
|
+
description="View Feedback",
|
|
335
|
+
module=PermissionModule.EDS,
|
|
336
|
+
resource=PermissionResource.FEEDBACK,
|
|
337
|
+
action=PermissionAction.VIEW,
|
|
338
|
+
)
|
|
339
|
+
EDS_OCFO_TUTORIALS_VIEW = PermissionData(
|
|
340
|
+
name="View OCFO Tutorials",
|
|
341
|
+
description="View OCFO Tutorials",
|
|
342
|
+
module=PermissionModule.EDS,
|
|
343
|
+
resource=PermissionResource.OCFO_TUTORIALS,
|
|
344
|
+
action=PermissionAction.VIEW,
|
|
345
|
+
)
|
|
346
|
+
EDS_EPAR_TUTORIALS_VIEW = PermissionData(
|
|
347
|
+
name="View EPAR Tutorials",
|
|
348
|
+
description="View EPAR Tutorials",
|
|
349
|
+
module=PermissionModule.EDS,
|
|
350
|
+
resource=PermissionResource.EPAR_TUTORIALS,
|
|
351
|
+
action=PermissionAction.VIEW,
|
|
352
|
+
)
|
|
353
|
+
EDS_RECENT_REVIEW_EPARS_VIEW = PermissionData(
|
|
354
|
+
name="View Recent Review EPARs",
|
|
355
|
+
description="View Recent Review EPARs",
|
|
356
|
+
module=PermissionModule.EDS,
|
|
357
|
+
resource=PermissionResource.RECENT_REVIEW_EPARS,
|
|
358
|
+
action=PermissionAction.VIEW,
|
|
359
|
+
)
|
|
250
360
|
VIEW_BILLING = PermissionData(
|
|
251
361
|
name="View Billing",
|
|
252
362
|
description="View Billing accounts",
|
|
@@ -21,7 +21,7 @@ abs_auth_rbac_core/rbac/service.py,sha256=YKur4trtTc0N-u3oqrfAJf9yLOTzSU-Pn2qh5d
|
|
|
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=
|
|
25
|
-
abs_auth_rbac_core-0.2.
|
|
26
|
-
abs_auth_rbac_core-0.2.
|
|
27
|
-
abs_auth_rbac_core-0.2.
|
|
24
|
+
abs_auth_rbac_core/util/permission_constants.py,sha256=cUEi6S9iNK4jwxevlb4ZNiBUcFSu4wlkN-p-O3-l7xs,95712
|
|
25
|
+
abs_auth_rbac_core-0.2.1.dist-info/METADATA,sha256=QJwW0gy1QBOjN4oR2dT7EPEZLKBGvWMVQjo3JbVZ-sQ,23269
|
|
26
|
+
abs_auth_rbac_core-0.2.1.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
27
|
+
abs_auth_rbac_core-0.2.1.dist-info/RECORD,,
|
|
File without changes
|