abs-auth-rbac-core 0.1.10__py3-none-any.whl → 0.1.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 +301 -0
- {abs_auth_rbac_core-0.1.10.dist-info → abs_auth_rbac_core-0.1.12.dist-info}/METADATA +1 -1
- {abs_auth_rbac_core-0.1.10.dist-info → abs_auth_rbac_core-0.1.12.dist-info}/RECORD +4 -4
- {abs_auth_rbac_core-0.1.10.dist-info → abs_auth_rbac_core-0.1.12.dist-info}/WHEEL +0 -0
|
@@ -99,6 +99,36 @@ class PermissionAction(str, Enum):
|
|
|
99
99
|
ACCESS_AZURE_STORAGE = "ACCESS_AZURE_STORAGE"
|
|
100
100
|
ASSIGN = "ASSIGN"
|
|
101
101
|
ADD_NOTE = "ADD_NOTE"
|
|
102
|
+
VIEW_ALL_MESSAGES="VIEW_ALL_MESSAGES"
|
|
103
|
+
VIEW_DEPARTMENT_MESSAGES="VIEW_DEPARTMENT_MESSAGES"
|
|
104
|
+
VIEW_OWN_MESSAGES="VIEW_OWN_MESSAGES"
|
|
105
|
+
VIEW_ALL_DEPARTMENT_DATA="VIEW_ALL_DEPARTMENT_DATA"
|
|
106
|
+
VIEW_OWN_DEPARTMENT_DATA="VIEW_OWN_DEPARTMENT_DATA"
|
|
107
|
+
CONFIGURE_EMAIL_SETTINGS="CONFIGURE_EMAIL_SETTINGS"
|
|
108
|
+
ADD_KNOWLEDGE="ADD_KNOWLEDGE"
|
|
109
|
+
CHANGE_DEPARTMENT_SETTINGS="CHANGE_DEPARTMENT_SETTINGS"
|
|
110
|
+
ASSIGN_USERS_TO_DEPARTMENTS="ASSIGN_USERS_TO_DEPARTMENTS"
|
|
111
|
+
ASSIGN_USERS_WITHIN_DEPARTMENT="ASSIGN_USERS_WITHIN_DEPARTMENT"
|
|
112
|
+
LOGIN_ACCESS="LOGIN_ACCESS"
|
|
113
|
+
FORM_ONLY_ACCESS="FORM_ONLY_ACCESS"
|
|
114
|
+
TRACK_USER_ACTIONS="TRACK_USER_ACTIONS"
|
|
115
|
+
GENERATE_ALL_REPORTS="GENERATE_ALL_REPORTS"
|
|
116
|
+
GENERATE_DEPARTMENT_REPORTS="GENERATE_DEPARTMENT_REPORTS"
|
|
117
|
+
VIEW_ALL_ANALYTICS="VIEW_ALL_ANALYTICS"
|
|
118
|
+
VIEW_DEPARTMENT_ANALYTICS="VIEW_DEPARTMENT_ANALYTICS"
|
|
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
|
+
|
|
102
132
|
|
|
103
133
|
|
|
104
134
|
class PermissionModule(str, Enum):
|
|
@@ -111,6 +141,8 @@ class PermissionModule(str, Enum):
|
|
|
111
141
|
REPORTING = "REPORTING"
|
|
112
142
|
USER_MANAGEMENT = "USER_MANAGEMENT"
|
|
113
143
|
AI_EMS="AI_EMS"
|
|
144
|
+
ENTITY_MANAGER="ENTITY_MANAGER"
|
|
145
|
+
|
|
114
146
|
|
|
115
147
|
|
|
116
148
|
class PermissionResource(str, Enum):
|
|
@@ -161,6 +193,9 @@ class PermissionResource(str, Enum):
|
|
|
161
193
|
REPORTING = "REPORTING"
|
|
162
194
|
SETTINGS = "SETTINGS"
|
|
163
195
|
CONSTITUENT_COMPLAINTS = "CONSTITUENT_COMPLAINTS"
|
|
196
|
+
MESSAGE_MANAGEMENT_PERMISSIONS="MESSAGE_MANAGEMENT_PERMISSIONS"
|
|
197
|
+
DEPARTMENT_MANAGEMENT_PERMISSIONS="DEPARTMENT_MANAGEMENT_PERMISSIONS"
|
|
198
|
+
CHANNEL_SPECIFIC_PERMISSIONS="CHANNEL_SPECIFIC_PERMISSIONS"
|
|
164
199
|
LEGAL_ASSISTANT = "LEGAL_ASSISTANT"
|
|
165
200
|
KNOWLEDGE_SOURCE = "KNOWLEDGE_SOURCE"
|
|
166
201
|
AGENT_CONFIG = "AGENT_CONFIG"
|
|
@@ -174,6 +209,8 @@ class PermissionResource(str, Enum):
|
|
|
174
209
|
CALLS_AND_SMS = "CALLS_AND_SMS"
|
|
175
210
|
ANALYTICS = "ANALYTICS"
|
|
176
211
|
HELP = "HELP"
|
|
212
|
+
SYSTEM_ACCESS_TRACKING_PERMISSIONS="SYSTEM_ACCESS_TRACKING_PERMISSIONS"
|
|
213
|
+
ENTITY_MANAGER="ENTITY_MANAGER"
|
|
177
214
|
|
|
178
215
|
|
|
179
216
|
class PermissionData(NamedTuple):
|
|
@@ -1757,6 +1794,270 @@ class PermissionConstants:
|
|
|
1757
1794
|
action=PermissionAction.VIEW,
|
|
1758
1795
|
)
|
|
1759
1796
|
|
|
1797
|
+
# Message Management Permissions
|
|
1798
|
+
MESSAGE_MANAGEMENT_VIEW_ALL = PermissionData(
|
|
1799
|
+
name="View All Messages",
|
|
1800
|
+
description="Permission to view all messages across departments",
|
|
1801
|
+
module=PermissionModule.CONSTITUENT_COMPLAINTS,
|
|
1802
|
+
resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
|
|
1803
|
+
action=PermissionAction.VIEW_ALL_MESSAGES,
|
|
1804
|
+
)
|
|
1805
|
+
MESSAGE_MANAGEMENT_VIEW_DEPARTMENT = PermissionData(
|
|
1806
|
+
name="View Department Messages",
|
|
1807
|
+
description="Permission to view messages within own department",
|
|
1808
|
+
module=PermissionModule.CONSTITUENT_COMPLAINTS,
|
|
1809
|
+
resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
|
|
1810
|
+
action=PermissionAction.VIEW_DEPARTMENT_MESSAGES,
|
|
1811
|
+
)
|
|
1812
|
+
MESSAGE_MANAGEMENT_VIEW_OWN = PermissionData(
|
|
1813
|
+
name="View Own Messages",
|
|
1814
|
+
description="Permission to view own messages",
|
|
1815
|
+
module=PermissionModule.CONSTITUENT_COMPLAINTS,
|
|
1816
|
+
resource=PermissionResource.MESSAGE_MANAGEMENT_PERMISSIONS,
|
|
1817
|
+
action=PermissionAction.VIEW_OWN_MESSAGES,
|
|
1818
|
+
)
|
|
1819
|
+
|
|
1820
|
+
# Department Management Permissions
|
|
1821
|
+
DEPARTMENT_MANAGEMENT_VIEW_ALL = PermissionData(
|
|
1822
|
+
name="View All Department Data",
|
|
1823
|
+
description="Permission to view data from all departments",
|
|
1824
|
+
module=PermissionModule.CONSTITUENT_COMPLAINTS,
|
|
1825
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1826
|
+
action=PermissionAction.VIEW_ALL_DEPARTMENT_DATA,
|
|
1827
|
+
)
|
|
1828
|
+
DEPARTMENT_MANAGEMENT_VIEW_OWN = PermissionData(
|
|
1829
|
+
name="View Own Department Data",
|
|
1830
|
+
description="Permission to view data from own department",
|
|
1831
|
+
module=PermissionModule.CONSTITUENT_COMPLAINTS,
|
|
1832
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1833
|
+
action=PermissionAction.VIEW_OWN_DEPARTMENT_DATA,
|
|
1834
|
+
)
|
|
1835
|
+
|
|
1836
|
+
# Channel Specific Permissions
|
|
1837
|
+
CHANNEL_SPECIFIC_CONFIGURE_EMAIL = PermissionData(
|
|
1838
|
+
name="Configure Email Settings",
|
|
1839
|
+
description="Permission to configure email channel settings",
|
|
1840
|
+
module=PermissionModule.CONSTITUENT_COMPLAINTS,
|
|
1841
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
1842
|
+
action=PermissionAction.CONFIGURE_EMAIL_SETTINGS,
|
|
1843
|
+
)
|
|
1844
|
+
|
|
1845
|
+
ADD_KNOWLEDGE_EMAIL_PROCESS = PermissionData(
|
|
1846
|
+
name="Add Knowledge",
|
|
1847
|
+
description="Permission to add knowledge in department",
|
|
1848
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1849
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1850
|
+
action=PermissionAction.ADD_KNOWLEDGE
|
|
1851
|
+
)
|
|
1852
|
+
|
|
1853
|
+
CHANGE_DEPARTMENT_SETTINGS_EMAIL_PROCESS = PermissionData(
|
|
1854
|
+
name="Change Department Settings",
|
|
1855
|
+
description="Permission to change department settings",
|
|
1856
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1857
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1858
|
+
action=PermissionAction.CHANGE_DEPARTMENT_SETTINGS
|
|
1859
|
+
)
|
|
1860
|
+
|
|
1861
|
+
ASSIGN_USERS_TO_DEPARTMENTS_EMAIL_PROCESS = PermissionData(
|
|
1862
|
+
name="Assign Users to Departments",
|
|
1863
|
+
description="Permission to assign users to departments",
|
|
1864
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1865
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1866
|
+
action=PermissionAction.ASSIGN_USERS_TO_DEPARTMENTS
|
|
1867
|
+
)
|
|
1868
|
+
|
|
1869
|
+
ASSIGN_USERS_WITHIN_DEPARTMENT_EMAIL_PROCESS = PermissionData(
|
|
1870
|
+
name="Assign Users Within Department",
|
|
1871
|
+
description="Permission to assign users within their own department",
|
|
1872
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1873
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1874
|
+
action=PermissionAction.ASSIGN_USERS_WITHIN_DEPARTMENT
|
|
1875
|
+
)
|
|
1876
|
+
|
|
1877
|
+
VIEW_ALL_DEPARTMENT_DATA_EMAIL_PROCESS = PermissionData(
|
|
1878
|
+
name="View All Department Data",
|
|
1879
|
+
description="Permission to view all department data",
|
|
1880
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1881
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1882
|
+
action=PermissionAction.VIEW_ALL_DEPARTMENT_DATA
|
|
1883
|
+
)
|
|
1884
|
+
|
|
1885
|
+
VIEW_OWN_DEPARTMENT_DATA_EMAIL_PROCESS = PermissionData(
|
|
1886
|
+
name="View Own Department Data",
|
|
1887
|
+
description="Permission to view own department's data",
|
|
1888
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1889
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1890
|
+
action=PermissionAction.VIEW_OWN_DEPARTMENT_DATA
|
|
1891
|
+
)
|
|
1892
|
+
|
|
1893
|
+
MANAGE_DEPARTMENT_ROUTING_EMAIL_PROCESS = PermissionData(
|
|
1894
|
+
name="Manage Department Routing",
|
|
1895
|
+
description="Permission to manage routing settings for departments",
|
|
1896
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1897
|
+
resource=PermissionResource.DEPARTMENT_MANAGEMENT_PERMISSIONS,
|
|
1898
|
+
action=PermissionAction.MANAGE_DEPARTMENT_ROUTING
|
|
1899
|
+
)
|
|
1900
|
+
|
|
1901
|
+
# System Access Tracking Permissions
|
|
1902
|
+
LOGIN_ACCESS_EMAIL_PROCESS = PermissionData(
|
|
1903
|
+
name="Login Access",
|
|
1904
|
+
description="Permission for login access",
|
|
1905
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1906
|
+
resource=PermissionResource.SYSTEM_ACCESS_TRACKING_PERMISSIONS,
|
|
1907
|
+
action=PermissionAction.LOGIN_ACCESS
|
|
1908
|
+
)
|
|
1909
|
+
|
|
1910
|
+
FORM_ONLY_ACCESS_EMAIL_PROCESS = PermissionData(
|
|
1911
|
+
name="Form Only Access",
|
|
1912
|
+
description="Permission to access only forms",
|
|
1913
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1914
|
+
resource=PermissionResource.SYSTEM_ACCESS_TRACKING_PERMISSIONS,
|
|
1915
|
+
action=PermissionAction.FORM_ONLY_ACCESS
|
|
1916
|
+
)
|
|
1917
|
+
|
|
1918
|
+
TRACK_USER_ACTIONS_EMAIL_PROCESS = PermissionData(
|
|
1919
|
+
name="Track User Actions",
|
|
1920
|
+
description="Permission to track user actions",
|
|
1921
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1922
|
+
resource=PermissionResource.SYSTEM_ACCESS_TRACKING_PERMISSIONS,
|
|
1923
|
+
action=PermissionAction.TRACK_USER_ACTIONS
|
|
1924
|
+
)
|
|
1925
|
+
|
|
1926
|
+
GENERATE_ALL_REPORTS_EMAIL_PROCESS = PermissionData(
|
|
1927
|
+
name="Generate All Reports",
|
|
1928
|
+
description="Permission to generate all reports",
|
|
1929
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1930
|
+
resource=PermissionResource.SYSTEM_ACCESS_TRACKING_PERMISSIONS,
|
|
1931
|
+
action=PermissionAction.GENERATE_ALL_REPORTS
|
|
1932
|
+
)
|
|
1933
|
+
|
|
1934
|
+
GENERATE_DEPARTMENT_REPORTS_EMAIL_PROCESS = PermissionData(
|
|
1935
|
+
name="Generate Department Reports",
|
|
1936
|
+
description="Permission to generate department-specific reports",
|
|
1937
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1938
|
+
resource=PermissionResource.SYSTEM_ACCESS_TRACKING_PERMISSIONS,
|
|
1939
|
+
action=PermissionAction.GENERATE_DEPARTMENT_REPORTS
|
|
1940
|
+
)
|
|
1941
|
+
|
|
1942
|
+
VIEW_ALL_ANALYTICS_EMAIL_PROCESS = PermissionData(
|
|
1943
|
+
name="View All Analytics",
|
|
1944
|
+
description="Permission to view analytics across the system",
|
|
1945
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1946
|
+
resource=PermissionResource.SYSTEM_ACCESS_TRACKING_PERMISSIONS,
|
|
1947
|
+
action=PermissionAction.VIEW_ALL_ANALYTICS
|
|
1948
|
+
)
|
|
1949
|
+
|
|
1950
|
+
VIEW_DEPARTMENT_ANALYTICS_EMAIL_PROCESS = PermissionData(
|
|
1951
|
+
name="View Department Analytics",
|
|
1952
|
+
description="Permission to view department-specific analytics",
|
|
1953
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1954
|
+
resource=PermissionResource.SYSTEM_ACCESS_TRACKING_PERMISSIONS,
|
|
1955
|
+
action=PermissionAction.VIEW_DEPARTMENT_ANALYTICS
|
|
1956
|
+
)
|
|
1957
|
+
VIEW_ENTITY_MANAGER_ENTITY_MANAGER = PermissionData(
|
|
1958
|
+
name="View Entity Manager Apps",
|
|
1959
|
+
description="Permission to view entity manager apps",
|
|
1960
|
+
module=PermissionModule.ENTITY_MANAGER,
|
|
1961
|
+
resource=PermissionResource.ENTITY_MANAGER,
|
|
1962
|
+
action=PermissionAction.VIEW
|
|
1963
|
+
)
|
|
1964
|
+
SYNC_EMAILS = PermissionData(
|
|
1965
|
+
name="Sync Emails",
|
|
1966
|
+
description="Permission to sync emails",
|
|
1967
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1968
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
1969
|
+
action=PermissionAction.SYNC_EMAILS
|
|
1970
|
+
)
|
|
1971
|
+
|
|
1972
|
+
CONFIGURE_EMAIL_SETTINGS = PermissionData(
|
|
1973
|
+
name="Configure Email Settings",
|
|
1974
|
+
description="Permission to configure email settings",
|
|
1975
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1976
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
1977
|
+
action=PermissionAction.CONFIGURE_EMAIL_SETTINGS
|
|
1978
|
+
)
|
|
1979
|
+
|
|
1980
|
+
SEND_EMAIL_RESPONSES = PermissionData(
|
|
1981
|
+
name="Send Email Responses",
|
|
1982
|
+
description="Permission to send email responses",
|
|
1983
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1984
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
1985
|
+
action=PermissionAction.SEND_EMAIL_RESPONSES
|
|
1986
|
+
)
|
|
1987
|
+
|
|
1988
|
+
ACCESS_VOICEMAIL_SYSTEM = PermissionData(
|
|
1989
|
+
name="Access Voicemail System",
|
|
1990
|
+
description="Permission to access voicemail system",
|
|
1991
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
1992
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
1993
|
+
action=PermissionAction.ACCESS_VOICEMAIL_SYSTEM
|
|
1994
|
+
)
|
|
1995
|
+
|
|
1996
|
+
TRANSCRIBE_VOICEMAILS = PermissionData(
|
|
1997
|
+
name="Transcribe Voicemails",
|
|
1998
|
+
description="Permission to transcribe voicemails",
|
|
1999
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2000
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2001
|
+
action=PermissionAction.TRANSCRIBE_VOICEMAILS
|
|
2002
|
+
)
|
|
2003
|
+
|
|
2004
|
+
CALLBACK_CONSTITUENTS = PermissionData(
|
|
2005
|
+
name="Callback Constituents",
|
|
2006
|
+
description="Permission to callback constituents",
|
|
2007
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2008
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2009
|
+
action=PermissionAction.CALLBACK_CONSTITUENTS
|
|
2010
|
+
)
|
|
2011
|
+
|
|
2012
|
+
SCAN_PHYSICAL_MAIL = PermissionData(
|
|
2013
|
+
name="Scan Physical Mail",
|
|
2014
|
+
description="Permission to scan physical mail",
|
|
2015
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2016
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2017
|
+
action=PermissionAction.SCAN_PHYSICAL_MAIL
|
|
2018
|
+
)
|
|
2019
|
+
|
|
2020
|
+
OCR_DOCUMENT_PROCESSING = PermissionData(
|
|
2021
|
+
name="OCR Document Processing",
|
|
2022
|
+
description="Permission to process documents using OCR",
|
|
2023
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2024
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2025
|
+
action=PermissionAction.OCR_DOCUMENT_PROCESSING
|
|
2026
|
+
)
|
|
2027
|
+
|
|
2028
|
+
HANDLE_PHYSICAL_RESPONSES = PermissionData(
|
|
2029
|
+
name="Handle Physical Responses",
|
|
2030
|
+
description="Permission to handle physical mail responses",
|
|
2031
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2032
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2033
|
+
action=PermissionAction.HANDLE_PHYSICAL_RESPONSES
|
|
2034
|
+
)
|
|
2035
|
+
|
|
2036
|
+
CONFIGURE_FORMS = PermissionData(
|
|
2037
|
+
name="Configure Forms",
|
|
2038
|
+
description="Permission to configure forms",
|
|
2039
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2040
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2041
|
+
action=PermissionAction.CONFIGURE_FORMS
|
|
2042
|
+
)
|
|
2043
|
+
|
|
2044
|
+
VIEW_FORM_SUBMISSIONS = PermissionData(
|
|
2045
|
+
name="View Form Submissions",
|
|
2046
|
+
description="Permission to view form submissions",
|
|
2047
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2048
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2049
|
+
action=PermissionAction.VIEW_FORM_SUBMISSIONS
|
|
2050
|
+
)
|
|
2051
|
+
|
|
2052
|
+
SUBMIT_FORMS = PermissionData(
|
|
2053
|
+
name="Submit Forms",
|
|
2054
|
+
description="Permission to submit forms",
|
|
2055
|
+
module=PermissionModule.EMAIL_PROCESS,
|
|
2056
|
+
resource=PermissionResource.CHANNEL_SPECIFIC_PERMISSIONS,
|
|
2057
|
+
action=PermissionAction.SUBMIT_FORMS
|
|
2058
|
+
)
|
|
2059
|
+
|
|
2060
|
+
|
|
1760
2061
|
@classmethod
|
|
1761
2062
|
def get_all_permissions(cls) -> List[PermissionData]:
|
|
1762
2063
|
"""Get all defined permissions"""
|
|
@@ -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=
|
|
25
|
-
abs_auth_rbac_core-0.1.
|
|
26
|
-
abs_auth_rbac_core-0.1.
|
|
27
|
-
abs_auth_rbac_core-0.1.
|
|
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,,
|
|
File without changes
|