Skip to content

Commit

Permalink
feat: update roles with ebios permissions (#1280)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohamed-Hacene authored Dec 30, 2024
1 parent 86b3a87 commit c6ffcd6
Showing 1 changed file with 74 additions and 0 deletions.
74 changes: 74 additions & 0 deletions backend/core/startup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@
"view_vulnerability",
"view_user",
"view_usergroup",
"view_ebiosrmstudy",
"view_fearedevent",
"view_roto",
"view_stakeholder",
"view_strategicscenario",
"view_attackpath",
"view_operationalscenario",
"view_qualification",
]

APPROVER_PERMISSIONS_LIST = [
Expand Down Expand Up @@ -65,6 +73,14 @@
"view_user",
"view_requirementmappingset",
"view_requirementmapping",
"view_ebiosrmstudy",
"view_fearedevent",
"view_roto",
"view_stakeholder",
"view_strategicscenario",
"view_attackpath",
"view_operationalscenario",
"view_qualification",
]

ANALYST_PERMISSIONS_LIST = [
Expand Down Expand Up @@ -142,6 +158,35 @@
"view_threat",
"view_user",
"view_usergroup",
"add_ebiosrmstudy",
"view_ebiosrmstudy",
"change_ebiosrmstudy",
"delete_ebiosrmstudy",
"add_fearedevent",
"view_fearedevent",
"change_fearedevent",
"delete_fearedevent",
"add_roto",
"view_roto",
"change_roto",
"delete_roto",
"add_stakeholder",
"view_stakeholder",
"change_stakeholder",
"delete_stakeholder",
"add_strategicscenario",
"view_strategicscenario",
"change_strategicscenario",
"delete_strategicscenario",
"add_attackpath",
"view_attackpath",
"change_attackpath",
"delete_attackpath",
"add_operationalscenario",
"view_operationalscenario",
"change_operationalscenario",
"delete_operationalscenario",
"view_qualification",
]

DOMAIN_MANAGER_PERMISSIONS_LIST = [
Expand Down Expand Up @@ -227,6 +272,35 @@
"view_threat",
"view_user",
"view_usergroup",
"add_ebiosrmstudy",
"view_ebiosrmstudy",
"change_ebiosrmstudy",
"delete_ebiosrmstudy",
"add_fearedevent",
"view_fearedevent",
"change_fearedevent",
"delete_fearedevent",
"add_roto",
"view_roto",
"change_roto",
"delete_roto",
"add_stakeholder",
"view_stakeholder",
"change_stakeholder",
"delete_stakeholder",
"add_strategicscenario",
"view_strategicscenario",
"change_strategicscenario",
"delete_strategicscenario",
"add_attackpath",
"view_attackpath",
"change_attackpath",
"delete_attackpath",
"add_operationalscenario",
"view_operationalscenario",
"change_operationalscenario",
"delete_operationalscenario",
"view_qualification",
]

ADMINISTRATOR_PERMISSIONS_LIST = [
Expand Down

0 comments on commit c6ffcd6

Please sign in to comment.