Skip to content

Commit

Permalink
chore: conditionally show user access tiles depending on user operator
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellmueller committed Sep 19, 2024
1 parent 4463bfe commit 5f3e5de
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@
"title": "Users and Access Requests",
"icon": "Users",
"content": "View, approve or decline Business BCeID user access requests to your operator, or to assign access type to users here.",
"href": "/administration/tbd"
"href": "/administration/tbd",
"condition": {
"api": "registration/v2/user-operators/current/operator",
"field": "error",
"operator": "notExists",
"value": true
}
}
]
}
Expand Down
8 changes: 7 additions & 1 deletion bc_obps/common/fixtures/dashboard/bciers/external.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@
},
{
"title": "Users and Access Requests",
"href": "/administration/tbd"
"href": "/administration/tbd",
"condition": {
"api": "registration/v2/user-operators/current/operator",
"field": "error",
"operator": "notExists",
"value": true
}
}
]
},
Expand Down

0 comments on commit 5f3e5de

Please sign in to comment.