Skip to content

Commit

Permalink
Add access to activity area / notification configuration and day/nigt…
Browse files Browse the repository at this point in the history
…h mode for all users (#39)

Signed-off-by: vlo-rte <valerie.longa@rte-france.com>
  • Loading branch information
vlo-rte committed May 17, 2024
1 parent e2fb381 commit 9d68caf
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
26 changes: 13 additions & 13 deletions server/docker-configurations/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,59 +67,59 @@ operatorfabric.users.default:
name: Control Center FR North
description: Control Center FR North
parents : ["ENTITY_FR"]
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY2_FR
name: Control Center FR South
description: Control Center FR South
parents : ["ENTITY_FR"]
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY3_FR
name: Control Center FR East
description: Control Center FR East
parents : ["ENTITY_FR"]
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY4_FR
name: Control Center FR West
description: Control Center FR West
parents : ["ENTITY_FR"]
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY_FR
name: French Control Centers
description: French Control Centers
roles: ["CARD_RECEIVER"]
roles: ["CARD_RECEIVER", "ACTIVITY_AREA_GROUP"]
- id: IT_SUPERVISOR_ENTITY
name: IT SUPERVISION CENTER
description: IT SUPERVISION CENTER
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY1_IT
name: Control Center IT North
description: Control Center IT North
parents : ["ENTITY_IT"]
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY2_IT
name: Control Center IT Center
description: Control Center IT Center
parents : ["ENTITY_IT"]
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY3_IT
name: Control Center IT South
description: Control Center IT South
parents : ["ENTITY_IT"]
parents : ["ENTITY_IT", "ACTIVITY_AREA"]
- id: ENTITY_IT
name: Italian Control Centers
description: Italian Control Centers
roles: ["CARD_RECEIVER"]
roles: ["CARD_RECEIVER", "ACTIVITY_AREA_GROUP"]
- id: ENTITY1_NL
name: Control Center NL North
description: Control Center NL North
parents : ["ENTITY_NL"]
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY2_NL
name: Control Center NL South
description: Control Center NL South
parents : ["ENTITY_NL"]
roles: ["CARD_RECEIVER", "CARD_SENDER"]
roles: ["CARD_RECEIVER", "CARD_SENDER", "ACTIVITY_AREA"]
- id: ENTITY_NL
name: Dutch Control Centers
description: Dutch Control Centers
roles: ["CARD_RECEIVER"]
roles: ["CARD_RECEIVER", "ACTIVITY_AREA_GROUP"]
8 changes: 6 additions & 2 deletions server/ui-menu.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,21 @@
"opfabCoreMenuId": "settings",
"visible": true
},
{
"opfabCoreMenuId": "activityarea",
"visible": true
},
{
"opfabCoreMenuId": "feedconfiguration",
"visible": false
"visible": true
},
{
"opfabCoreMenuId": "realtimeusers",
"visible": true
},
{
"opfabCoreMenuId": "nightdaymode",
"visible": false
"visible": true
},
{
"opfabCoreMenuId": "about",
Expand Down
2 changes: 1 addition & 1 deletion server/web-ui.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@
"hidden": false
},
"feedConfiguration": {
"hidden": true
"hidden": false
}
}

0 comments on commit 9d68caf

Please sign in to comment.