Michelle Beutler
06/21/2022, 10:44 PMvar MyAccountMenu = container.getComponent('MyAccountMenu');
var OrderApprovalsListGroupEntry = {
groupid: 'orders',
id: 'orderapprovalslist',
name: Utils.translate('Order Approvals'),
url: 'orderapprovals',
index: 99,
permission: [
{
group: "lists",
id: "customrecord_gam_transaction_approval",
level: "1"
}
]
}
Flo
06/22/2022, 2:59 PMMichelle Beutler
06/22/2022, 3:48 PMBryce Krah
06/23/2022, 4:59 PMSC.Environment.permissions
to include a custom permission that you set based on a field from the customer profile, which would allow the permission filter to accept it